diff options
author | Sven Gothel <[email protected]> | 2011-11-29 12:26:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-29 12:26:20 +0100 |
commit | 7ce949289c71cc4a64e15227c7760974b40e2c33 (patch) | |
tree | ef405a3cb8ffa98c1c37837e80edd5578cee588e /make/stub_includes/macosx/OpenGL/OpenGL.h | |
parent | 70694b62974bab40c1411217ade8ae6fc1c554d5 (diff) |
MacOSX: Expose CGL's CGLLockContext(..) and CGLUnlockContext(..) - to provide required locking in multithreading environment
Diffstat (limited to 'make/stub_includes/macosx/OpenGL/OpenGL.h')
-rw-r--r-- | make/stub_includes/macosx/OpenGL/OpenGL.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make/stub_includes/macosx/OpenGL/OpenGL.h b/make/stub_includes/macosx/OpenGL/OpenGL.h index 33cfa46b6..3347209b3 100644 --- a/make/stub_includes/macosx/OpenGL/OpenGL.h +++ b/make/stub_includes/macosx/OpenGL/OpenGL.h @@ -118,6 +118,8 @@ CGLError CGLCreateContext(CGLPixelFormatObj pix, CGLContextObj* ctx); void CGLReleaseContext(CGLContextObj ctx); CGLError CGLDestroyContext(CGLContextObj ctx); +CGLError CGLLockContext (CGLContextObj ctx); +CGLError CGLUnlockContext (CGLContextObj ctx); CGLError CGLSetCurrentContext(CGLContextObj ctx); CGLContextObj CGLGetCurrentContext (void); CGLError CGLFlushDrawable ( CGLContextObj ctx); |