From cbe87cf41fd0442fdaa586f27c66b5dec33983c0 Mon Sep 17 00:00:00 2001 From: Nehon Date: Wed, 11 Nov 2015 19:02:23 +0100 Subject: [PATCH] checkGLError in LwjglOffscreenBuffer is now called only if assertions are on, as it is done in LwjglAbstractDisplay --- .../main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java b/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java index b06db1b29..ddfb8b62b 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java +++ b/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java @@ -123,7 +123,7 @@ public class LwjglOffscreenBuffer extends LwjglContext implements Runnable { } listener.update(); - checkGLError(); + assert checkGLError(); renderer.postFrame();