checkGLError in LwjglOffscreenBuffer is now called only if assertions are on, as it is done in LwjglAbstractDisplay

cleanup_build_scripts
Nehon 9 years ago
parent 5cb72c6582
commit cbe87cf41f
  1. 2
      jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java

@ -123,7 +123,7 @@ public class LwjglOffscreenBuffer extends LwjglContext implements Runnable {
} }
listener.update(); listener.update();
checkGLError(); assert checkGLError();
renderer.postFrame(); renderer.postFrame();

Loading…
Cancel
Save