From 067baba5f5c242b754ed3ff26bfd639d86812478 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 24 Feb 2012 02:58:23 +0100 Subject: Adapt to latest JOGL changes (commit: a4c7bf0420e369e71561d2847f2fc444ce5abafa, d97c54896d349e8a22c9cafec75c62476c16fdd1) --- src/demos/es2/openmax/MovieSimple.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/demos/es2/openmax') diff --git a/src/demos/es2/openmax/MovieSimple.java b/src/demos/es2/openmax/MovieSimple.java index d6c8c7b..eaf5221 100755 --- a/src/demos/es2/openmax/MovieSimple.java +++ b/src/demos/es2/openmax/MovieSimple.java @@ -137,9 +137,9 @@ public class MovieSimple implements MouseListener, GLEventListener, OMXEventList int tmpI; // Create & Compile the shader objects - ShaderCode rsVp = ShaderCode.create(gl, gl.GL_VERTEX_SHADER, 1, MovieSimple.class, + ShaderCode rsVp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, 1, MovieSimple.class, "shader", "shader/bin", "moviesimple"); - ShaderCode rsFp = ShaderCode.create(gl, gl.GL_FRAGMENT_SHADER, 1, MovieSimple.class, + ShaderCode rsFp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, 1, MovieSimple.class, "shader", "shader/bin", "moviesimple"); // Create & Link the shader program @@ -152,7 +152,7 @@ public class MovieSimple implements MouseListener, GLEventListener, OMXEventList // Let's manage all our states using ShaderState. st = new ShaderState(); - st.attachShaderProgram(gl, sp); + st.attachShaderProgram(gl, sp, false); } OMXInstance movie=null; -- cgit v1.2.3