diff options
author | Sven Gothel <sgothel@jausoft.com> | 2010-04-22 21:15:48 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2010-04-22 21:15:48 +0200 |
commit | 012fca06f2539db232f0183f72187ec2f8ca54f5 (patch) | |
tree | 9be1bcc206c0e1a85f50d43a6ae9dba07b11ec04 /src/jogl/classes/com/jogamp/opengl/impl/windows/wgl | |
parent | 26b0449cbc7db9961af92397f79e2b85f79ddb24 (diff) |
Review of using isGL2() and GL2.GL*
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/windows/wgl')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java index b0524bcd9..a9e02e11f 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java @@ -101,7 +101,7 @@ public class WindowsPbufferWGLContext extends WindowsWGLContext { // Initialize render-to-texture support if requested GL gl = getGL(); rtt = capabilities.getPbufferRenderToTexture(); - rect = gl.isGL2() && capabilities.getPbufferRenderToTextureRectangle(); + rect = gl.isGL2GL3() && capabilities.getPbufferRenderToTextureRectangle(); if (rtt) { if (DEBUG) { |