Skip to content

Commit

Permalink
added a new api for shared contexts and references (pxscene#1744)
Browse files Browse the repository at this point in the history
* added a new api for shared contexts and references

* added a new api for shared contexts and references update
  • Loading branch information
Michael Fiess authored and mfiess committed Mar 13, 2019
1 parent 7f5225b commit 1fc08e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/pxScene2d/src/mac/pxContextUtils.mm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ pxError makeInternalGLContextCurrent(bool current, int id, bool depthBuffer)
}
else
{
glFlush();
[openGLContext makeCurrentContext];
glContextIsCurrent = false;
}
Expand Down

0 comments on commit 1fc08e5

Please sign in to comment.