Explorar o código

Logic code error (#2238)

 remove a 'redundancy' in the size depth settings in LwjglCanvas
JNightRide hai 1 ano
pai
achega
3a556b5e1c

+ 0 - 1
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglCanvas.java

@@ -497,7 +497,6 @@ public class LwjglCanvas extends LwjglWindow implements JmeCanvasContext, Runnab
         // This will activate the "effective data" scrubber.
         showGLDataEffective.set(settings.getBoolean("GLDataEffectiveDebug"));
         
-        glData.depthSize = settings.getBitsPerPixel();
         glData.alphaSize = settings.getAlphaBits();
         glData.sRGB = settings.isGammaCorrection(); // Not compatible with very old devices