Skip to content

Commit dc95c1d

Browse files
committed
use glClearDepth instead of glClearDepthf for compatibility with
hardware that does not support OpenGL 4.1
1 parent 1adbc3b commit dc95c1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/processing/opengl/PJOGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ public void clearColor(float r, float g, float b, float a) {
18101810

18111811
@Override
18121812
public void clearDepth(float d) {
1813-
gl.glClearDepthf(d);
1813+
gl.glClearDepth(d);
18141814
}
18151815

18161816
@Override

0 commit comments

Comments
 (0)