diff options
author | Sven Gothel <[email protected]> | 2011-04-26 19:45:30 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-26 19:45:30 +0200 |
commit | 50f0e0cd916324779ded008089dbc1b95193295a (patch) | |
tree | 60cc230e90a976f9b6bfec3e45b22d250b897cd1 /make | |
parent | e007bb306124411e0232e51d16aa493cbd361f74 (diff) |
MacOSX/CGL Add CGLGetShareGroup()
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, |