Skip to content

Commit

Permalink
use glClearDepth instead of glClearDepthf for compatibility with
Browse files Browse the repository at this point in the history
hardware that does not support OpenGL 4.1
  • Loading branch information
codeanticode committed Nov 5, 2015
1 parent 1adbc3b commit dc95c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/processing/opengl/PJOGL.java
Expand Up @@ -1810,7 +1810,7 @@ public void clearColor(float r, float g, float b, float a) {

@Override
public void clearDepth(float d) {
gl.glClearDepthf(d);
gl.glClearDepth(d);
}

@Override
Expand Down

0 comments on commit dc95c1d

Please sign in to comment.