diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/config/jogl/cgl-macosx.cfg | 1 | ||||
-rw-r--r-- | make/stub_includes/macosx/OpenGL/OpenGL.h | 3 |
2 files changed, 3 insertions, 1 deletions
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, |