From 7ce949289c71cc4a64e15227c7760974b40e2c33 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 29 Nov 2011 12:26:20 +0100 Subject: MacOSX: Expose CGL's CGLLockContext(..) and CGLUnlockContext(..) - to provide required locking in multithreading environment --- make/stub_includes/macosx/OpenGL/OpenGL.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'make/stub_includes/macosx/OpenGL') 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); -- cgit v1.2.3