Skip to content

Commit 3a556b5

Browse files
authored
Logic code error (#2238)
remove a 'redundancy' in the size depth settings in LwjglCanvas
1 parent 9452078 commit 3a556b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,6 @@ protected void createContext(AppSettings settings) {
497497
// This will activate the "effective data" scrubber.
498498
showGLDataEffective.set(settings.getBoolean("GLDataEffectiveDebug"));
499499

500-
glData.depthSize = settings.getBitsPerPixel();
501500
glData.alphaSize = settings.getAlphaBits();
502501
glData.sRGB = settings.isGammaCorrection(); // Not compatible with very old devices
503502

0 commit comments

Comments
 (0)