diff options
author | Kenneth Russel <[email protected]> | 2005-08-18 06:08:20 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-08-18 06:08:20 +0000 |
commit | ed077c1bffc51024dbcaaab2a9a947a925c22914 (patch) | |
tree | e65823cd3bf7bc3dba6b71b789545c4a32dbb094 /src/net/java/games | |
parent | 967720b06e366cea635090ad0395758f91957d1b (diff) |
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
Diffstat (limited to 'src/net/java/games')
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLDrawable.java | 8 |
1 files changed, 0 insertions, 8 deletions
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; } } } |