aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-if-CustomJavaCode-gl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-06-16 21:27:21 +0200
committerSven Gothel <[email protected]>2012-06-16 21:27:21 +0200
commitccdc2ce6805e330cc5555b138044829f4bc67df9 (patch)
tree03ab4d8960b4cd0992fa48de7fe1e5202d0a675d /make/config/jogl/gl-if-CustomJavaCode-gl.java
parent29e70f215069643c740e1b251490aa9edd61d2cb (diff)
Fix Bug 590: Wrong GL2 and GLES2 aliasing of GL_ARB_half_float_pixel/GL_ARB_half_float_vertex and GL_OES_texture_half_float extensions
We mistakenly aliase the GL2 and GLES2 extensions: - GL_ARB_half_float_pixel - GL_HALF_FLOAT_ARB 0x140B - GL_ARB_half_float_vertex - GL_HALF_FLOAT 0x140B - GL_OES_texture_half_float extensions - GL_HALF_FLOAT_OES 0x8D61 This also leads to adding GL_HALF_FLOAT_OES to com.jogamp.opengl.util.GLBuffers.sizeof(..).
Diffstat (limited to 'make/config/jogl/gl-if-CustomJavaCode-gl.java')
-rw-r--r--make/config/jogl/gl-if-CustomJavaCode-gl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/config/jogl/gl-if-CustomJavaCode-gl.java b/make/config/jogl/gl-if-CustomJavaCode-gl.java
index 4741b2df5..77378aa45 100644
--- a/make/config/jogl/gl-if-CustomJavaCode-gl.java
+++ b/make/config/jogl/gl-if-CustomJavaCode-gl.java
@@ -53,6 +53,9 @@
public static final int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12;
/** Common in ES1, GL2 and GL3 */
public static final int GL_XOR = 0x1506;
+ /** Part of <code>GL_ARB_half_float_vertex</code>; <code>GL_NV_half_float</code>; <code>GL_ARB_half_float_pixel</code>,
+ earmarked for ES 3.0 (hence kept in GL while fixing Bug 590) */
+ public static final int GL_HALF_FLOAT = 0x140B;
public void glClearDepth( double depth );