diff options
author | Gerard Ziemski <[email protected]> | 2003-10-12 07:00:38 +0000 |
---|---|---|
committer | Gerard Ziemski <[email protected]> | 2003-10-12 07:00:38 +0000 |
commit | b76c821858e7ee132aa08cc8d9d61e82eb9aa53f (patch) | |
tree | e00235e882fa92d176a033eda406f3221deb7451 /src/native | |
parent | fbdf8c337805b02385bf43b65aad93c20a2e3ad2 (diff) |
Disabling the context updater for now - not thread safe yet.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@68 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/native')
-rw-r--r-- | src/native/jogl/MacOSXWindowSystemInterface.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/native/jogl/MacOSXWindowSystemInterface.m b/src/native/jogl/MacOSXWindowSystemInterface.m index ceb07a63d..3d852571c 100644 --- a/src/native/jogl/MacOSXWindowSystemInterface.m +++ b/src/native/jogl/MacOSXWindowSystemInterface.m @@ -96,6 +96,14 @@ Bool flushBuffer(void* context, void* view) return true; } +void updateContext(void* context, void* view) +{ +//fprintf(stderr, "updateContext context=%p, view=%p\n", context, view); + NSOpenGLContext *nsContext = (NSOpenGLContext*)context; + + [nsContext update]; +} + void* updateContextRegister(void* context, void* view) { //fprintf(stderr, "updateContextRegister context=%p, view=%p\n", context, view); |