diff options
Diffstat (limited to 'src/classes/javax')
-rw-r--r-- | src/classes/javax/media/opengl/GLDrawable.java | 5 | ||||
-rw-r--r-- | src/classes/javax/media/opengl/awt/GLCanvas.java | 4 | ||||
-rw-r--r-- | src/classes/javax/media/opengl/awt/gl2/GL2JPanel.java | 14 |
3 files changed, 0 insertions, 23 deletions
diff --git a/src/classes/javax/media/opengl/GLDrawable.java b/src/classes/javax/media/opengl/GLDrawable.java index ec1b5fc2d..f1468c475 100644 --- a/src/classes/javax/media/opengl/GLDrawable.java +++ b/src/classes/javax/media/opengl/GLDrawable.java @@ -139,11 +139,6 @@ public interface GLDrawable { */ public GLCapabilities getChosenGLCapabilities(); - /** - * stores a copy of the passed object - */ - public void setChosenGLCapabilities(GLCapabilities caps); - public NativeWindow getNativeWindow(); public GLDrawableFactory getFactory(); diff --git a/src/classes/javax/media/opengl/awt/GLCanvas.java b/src/classes/javax/media/opengl/awt/GLCanvas.java index bead18bb9..8d4a1df86 100644 --- a/src/classes/javax/media/opengl/awt/GLCanvas.java +++ b/src/classes/javax/media/opengl/awt/GLCanvas.java @@ -410,10 +410,6 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable { return drawable.getChosenGLCapabilities(); } - public void setChosenGLCapabilities(GLCapabilities caps) { - drawable.setChosenGLCapabilities(caps); - } - public NativeWindow getNativeWindow() { return drawable.getNativeWindow(); } diff --git a/src/classes/javax/media/opengl/awt/gl2/GL2JPanel.java b/src/classes/javax/media/opengl/awt/gl2/GL2JPanel.java index 5c1932513..69ecb1c99 100644 --- a/src/classes/javax/media/opengl/awt/gl2/GL2JPanel.java +++ b/src/classes/javax/media/opengl/awt/gl2/GL2JPanel.java @@ -887,20 +887,6 @@ public class GL2JPanel extends JPanel implements AWTGLAutoDrawable { return null; } - public void setChosenGLCapabilities(GLCapabilities caps) { - if (oglPipelineEnabled) { - this.caps = (caps==null) ? null : (GLCapabilities) caps.clone(); - } - - if (hardwareAccelerationDisabled) { - if (offscreenDrawable != null) - offscreenDrawable.setChosenGLCapabilities(caps); - } else { - if (pbuffer != null) - pbuffer.setChosenGLCapabilities(caps); - } - } - public NativeWindow getNativeWindow() { throw new GLException("FIXME"); } |