aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-28 21:08:54 +0100
committerSven Gothel <[email protected]>2012-10-28 21:08:54 +0100
commit61c80ee66512b72e5ea1644bfef5fc60105fe445 (patch)
treee4a5ef21b3a508d137a34ce47e50e95cb38edcd8 /src/jogl/classes/com
parentb7e84320dced5325bd7f7b4dda917b251e3915ab (diff)
Minor edits FBObject/GearsObject
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/FBObject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/FBObject.java b/src/jogl/classes/com/jogamp/opengl/FBObject.java
index 8dc34345d..b7188a79e 100644
--- a/src/jogl/classes/com/jogamp/opengl/FBObject.java
+++ b/src/jogl/classes/com/jogamp/opengl/FBObject.java
@@ -389,7 +389,7 @@ public class FBObject {
} else {
gl.glRenderbufferStorage(GL.GL_RENDERBUFFER, format, getWidth(), getHeight());
}
- int glerr = gl.glGetError();
+ final int glerr = gl.glGetError();
if(GL.GL_NO_ERROR != glerr) {
gl.glDeleteRenderbuffers(1, name, 0);
setName(0);