diff options
author | Sven Gothel <[email protected]> | 2013-07-17 01:00:19 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-17 01:00:19 +0200 |
commit | 74556de87d90539608cc69f072476e54b1a74f77 (patch) | |
tree | 44ac4933f979145f146ad1ac2ee9827517133458 /src/jogl/classes/jogamp/opengl/x11 | |
parent | 78abc89be7f3935f26802cc0db33f61fc2c65de0 (diff) |
X11GLXContext: Remove redundant manual aliasing of ext. names in isExtensionAvailable() - impl. uses a mapping.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java index 5536ecd6a..4bfe0cb86 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java @@ -524,16 +524,6 @@ public class X11GLXContext extends GLContextImpl { } @Override - public boolean isExtensionAvailable(String glExtensionName) { - if (glExtensionName.equals(GLExtensions.ARB_pbuffer) || - glExtensionName.equals(GLExtensions.ARB_pixel_format)) { - return getGLDrawable().getFactory().canCreateGLPbuffer( - drawable.getNativeSurface().getGraphicsConfiguration().getScreen().getDevice() ); - } - return super.isExtensionAvailable(glExtensionName); - } - - @Override protected boolean setSwapIntervalImpl(int interval) { if( !drawable.getChosenGLCapabilities().isOnscreen() ) { return false; } |