From b078f74cc707e7fc962efde08ab5d9cc6667e27c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 25 Mar 2014 16:39:18 +0100 Subject: Bug 801: Graph OpenGL ES2 and ES3 Compatibility - Remove 'const' qualifier in shader graph code for non 'absolute' const values - Use extension directive OES_standard_derivatives only for ES2.0, not ES3.0 (graph shader) - Compare float w/ float literals, not int literals! - Android Demo NEWTGraphUI2pActivity: - Is a VBAA example, hence disable scene MSAA! --- src/jogl/classes/com/jogamp/opengl/GLExtensions.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/jogl/classes/com/jogamp/opengl/GLExtensions.java') diff --git a/src/jogl/classes/com/jogamp/opengl/GLExtensions.java b/src/jogl/classes/com/jogamp/opengl/GLExtensions.java index da9e08a32..1593da25c 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLExtensions.java +++ b/src/jogl/classes/com/jogamp/opengl/GLExtensions.java @@ -72,6 +72,7 @@ public class GLExtensions { public static final String OES_read_format = "GL_OES_read_format"; public static final String OES_single_precision = "GL_OES_single_precision"; public static final String OES_EGL_image_external = "GL_OES_EGL_image_external"; + /** Required to be requested for OpenGL ES 2.0, not ES 3.0! */ public static final String OES_standard_derivatives = "GL_OES_standard_derivatives"; public static final String ARB_gpu_shader_fp64 = "GL_ARB_gpu_shader_fp64"; -- cgit v1.2.3