diff options
author | Kenneth Russel <[email protected]> | 2005-12-23 05:39:28 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-12-23 05:39:28 +0000 |
commit | 52fee2e3fb822363fc9cf08cd5738adfb2e0af19 (patch) | |
tree | becb8e311b96f2f85f5b87850e38d050e1b89d6a /src/classes/com/sun/opengl/impl/windows | |
parent | 4d1216921e546cb9c38a9ace5d8d99a61385ca44 (diff) |
Fixed bug in render-to-texture support on Windows
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@501 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl/windows')
-rw-r--r-- | src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java index b3f772573..e7b65a052 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java @@ -422,7 +422,7 @@ public abstract class WindowsGLDrawable extends GLDrawableImpl { boolean ati = false; if (pbuffer) { // Check some invariants and set up some state - if (rtt && !rect) { + if (rect && !rtt) { throw new GLException("Render-to-texture-rectangle requires render-to-texture to be specified"); } |