From dc95c1df2d0dddd1a43dc0bb8e45c04a32a925b0 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Thu, 5 Nov 2015 14:42:38 -0500 Subject: [PATCH] use glClearDepth instead of glClearDepthf for compatibility with hardware that does not support OpenGL 4.1 --- core/src/processing/opengl/PJOGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 2e8f9135bb..9a429f8005 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -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