diff options
author | Kenneth Russel <[email protected]> | 2008-03-30 23:39:11 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-03-30 23:39:11 +0000 |
commit | d0c380ed9959daeb727a4b889a342096373bd79a (patch) | |
tree | 740901e67f27880a1d64db8c440100ef02933371 /src/classes/javax/media/opengl/GLCanvas.java | |
parent | e995774d7cb2ea6c60ec763f04cf22dffbb6531a (diff) |
Fixed Issue 279: GLJPanel.setAutoSwapBufferMode(false) throws NPE
This issue turned up with NASA World Wind Java as well as with this
bug report.
The current situation is that GLJPanel.setAutoSwapBufferMode() and
GLJPanel.swapBuffers() have no effect due to how the Swing-compatible
GLJPanel works, and due to the fact that the backing OpenGL drawables
for the GLJPanel are always single-buffered.
Therefore there is no adverse effect to current applications to simply
making setAutoSwapBufferMode and swapBuffers no-ops, and returning
"true" from getAutoSwapBufferMode (although the latter is a change in
behavior, it reflects the current reality).
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1582 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media/opengl/GLCanvas.java')
0 files changed, 0 insertions, 0 deletions