From f90ab644c419486f7894fda3725a9c81de8bb283 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 8 Apr 2004 19:04:23 +0000 Subject: Fixed Issue 25: Expose swapBuffers(), please Fixed Issue 31: Make it safe to remove listeners from a GLDrawable while handling an event git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@93 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java') diff --git a/src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java b/src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java index 882e9b3f1..0a38e6fc7 100644 --- a/src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java +++ b/src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java @@ -136,7 +136,7 @@ public class X11OnscreenGLContext extends X11GLContext { } } - protected synchronized void swapBuffers() throws GLException { + public synchronized void swapBuffers() throws GLException { // FIXME: this cast to int would be wrong on 64-bit platforms // where the argument type to glXMakeCurrent would change (should // probably make GLXDrawable, and maybe XID, Opaque as long) -- cgit v1.2.3