summaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/GLPbufferImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/impl/GLPbufferImpl.java')
-rw-r--r--src/classes/com/sun/opengl/impl/GLPbufferImpl.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLPbufferImpl.java b/src/classes/com/sun/opengl/impl/GLPbufferImpl.java
index feb9d3512..cf4ae31af 100644
--- a/src/classes/com/sun/opengl/impl/GLPbufferImpl.java
+++ b/src/classes/com/sun/opengl/impl/GLPbufferImpl.java
@@ -142,6 +142,13 @@ public class GLPbufferImpl implements GLPbuffer {
context.releasePbufferFromTexture();
}
+ public GLCapabilities getChosenGLCapabilities() {
+ if (pbufferDrawable == null)
+ return null;
+
+ return pbufferDrawable.getChosenGLCapabilities();
+ }
+
//----------------------------------------------------------------------
// No-ops for ComponentEvents
//