From 50f0e0cd916324779ded008089dbc1b95193295a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 26 Apr 2011 19:45:30 +0200 Subject: MacOSX/CGL Add CGLGetShareGroup() --- make/config/jogl/cgl-macosx.cfg | 1 + make/stub_includes/macosx/OpenGL/OpenGL.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/config/jogl/cgl-macosx.cfg b/make/config/jogl/cgl-macosx.cfg index 38034a7ad..06bc94626 100644 --- a/make/config/jogl/cgl-macosx.cfg +++ b/make/config/jogl/cgl-macosx.cfg @@ -16,6 +16,7 @@ Opaque long void * # Opaque directives for low-level CGL binding (for Java2D/JOGL bridge) Opaque long CGLContextObj +Opaque long CGLShareGroupObj Opaque long CGLPBufferObj Opaque long CGLPixelFormatObj diff --git a/make/stub_includes/macosx/OpenGL/OpenGL.h b/make/stub_includes/macosx/OpenGL/OpenGL.h index afb11efea..e6f3030ad 100644 --- a/make/stub_includes/macosx/OpenGL/OpenGL.h +++ b/make/stub_includes/macosx/OpenGL/OpenGL.h @@ -3,6 +3,7 @@ /* Typedefs to get things working */ typedef struct _cglObj* CGLContextObj; +typedef struct _cglObj* CGLShareGroupObj; typedef struct _cglObj* CGLPBufferObj; typedef struct _cglObj* CGLPixelFormatObj; @@ -110,7 +111,7 @@ CGLError CGLFlushDrawable ( CGLContextObj ctx); CGLError CGLSetParameter ( CGLContextObj ctx, CGLContextParameter pname, const int *params ); CGLError CGLCopyContext ( CGLContextObj src, CGLContextObj dst, int mask ); - +CGLShareGroupObj CGLGetShareGroup(CGLContextObj ctx); /* PBuffer manipulation */ CGLError CGLCreatePBuffer(long width, -- cgit v1.2.3