aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/FBObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/FBObject.java')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/FBObject.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/FBObject.java b/src/jogl/classes/com/jogamp/opengl/FBObject.java
index 17589aa0e..7d0fcfa38 100644
--- a/src/jogl/classes/com/jogamp/opengl/FBObject.java
+++ b/src/jogl/classes/com/jogamp/opengl/FBObject.java
@@ -1088,8 +1088,10 @@ public class FBObject {
case 0:
default:
- System.err.println("Framebuffer " + fbName + " is incomplete, status = " + toHexString(vStatus) +
- " : " + getStatusString(vStatus));
+ if(DEBUG) {
+ System.err.println("Framebuffer " + fbName + " is incomplete, status = " + toHexString(vStatus) +
+ " : " + getStatusString(vStatus));
+ }
return false;
}
}