summaryrefslogtreecommitdiffstats
path: root/src/native
diff options
context:
space:
mode:
authorGerard Ziemski <[email protected]>2003-10-12 07:00:38 +0000
committerGerard Ziemski <[email protected]>2003-10-12 07:00:38 +0000
commitb76c821858e7ee132aa08cc8d9d61e82eb9aa53f (patch)
treee00235e882fa92d176a033eda406f3221deb7451 /src/native
parentfbdf8c337805b02385bf43b65aad93c20a2e3ad2 (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.m8
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);