summaryrefslogtreecommitdiffstats
path: root/make/stub_includes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-29 12:26:20 +0100
committerSven Gothel <[email protected]>2011-11-29 12:26:20 +0100
commit7ce949289c71cc4a64e15227c7760974b40e2c33 (patch)
treeef405a3cb8ffa98c1c37837e80edd5578cee588e /make/stub_includes
parent70694b62974bab40c1411217ade8ae6fc1c554d5 (diff)
MacOSX: Expose CGL's CGLLockContext(..) and CGLUnlockContext(..) - to provide required locking in multithreading environment
Diffstat (limited to 'make/stub_includes')
-rw-r--r--make/stub_includes/macosx/OpenGL/OpenGL.h2
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);