From ed077c1bffc51024dbcaaab2a9a947a925c22914 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 18 Aug 2005 06:08:20 +0000 Subject: Fixed bug in MacOSXOnscreenGLDrawable.swapBuffers() uncovered by DualContext demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@350 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLDrawable.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/net/java/games') diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLDrawable.java b/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLDrawable.java index 808a47472..ad95a9b37 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLDrawable.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLDrawable.java @@ -123,14 +123,6 @@ public class MacOSXOnscreenGLDrawable extends MacOSXGLDrawable { // FIXME: clear out unreachable contexts if (ctx != null) { ctx.swapBuffers(); - // FIXME: it isn't clear how to produce the same functionality - // as swapping an HDC's or GLXDrawable's buffers using the - // NSOpenGLContext API flushBuffer. Other platforms would - // associate the swapBuffer / flushBuffer API with the NSView - // rather than the NSOpenGLContext. For now, assume that - // calling flushBuffer on one context is the same as calling a - // "swapBuffers" function for the NSView. - return; } } } -- cgit v1.2.3