diff --git a/android/core/src/processing/opengl/PGL.java b/android/core/src/processing/opengl/PGL.java index 271b933f5..1ffb16031 100644 --- a/android/core/src/processing/opengl/PGL.java +++ b/android/core/src/processing/opengl/PGL.java @@ -134,10 +134,14 @@ public class PGL { public static final int GL_LESS = GLES20.GL_LESS; public static final int GL_LEQUAL = GLES20.GL_LEQUAL; + public static final int GL_CCW = GLES20.GL_CCW; - public static final int GL_CW = GLES20.GL_CW; - public static final int GL_FRONT = GLES20.GL_FRONT; - public static final int GL_BACK = GLES20.GL_BACK; + public static final int GL_CW = GLES20.GL_CW; + + public static final int GL_CULL_FACE = GLES20.GL_CULL_FACE; + public static final int GL_FRONT = GLES20.GL_FRONT; + public static final int GL_BACK = GLES20.GL_BACK; + public static final int GL_FRONT_AND_BACK = GLES20.GL_FRONT_AND_BACK; public static final int GL_VIEWPORT = GLES20.GL_VIEWPORT; @@ -639,6 +643,11 @@ public class PGL { } + public void glCullFace(int mode) { + GLES20.glCullFace(mode); + } + + public void glDepthMask(boolean flag) { GLES20.glDepthMask(flag); }