From 179fd5dace4203317bc971a7025eb18564313f2a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 16 Apr 2012 21:38:49 +0200 Subject: Adapt to JOGL's ShaderUtil API changes commit 62e5686fb583ad991d5811baf242d40d21952e27 --- src/demos/es2/perftst/PerfModule.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/demos/es2/perftst') diff --git a/src/demos/es2/perftst/PerfModule.java b/src/demos/es2/perftst/PerfModule.java index ec2314b..d7cfb2c 100644 --- a/src/demos/es2/perftst/PerfModule.java +++ b/src/demos/es2/perftst/PerfModule.java @@ -22,10 +22,10 @@ public abstract class PerfModule { st = new ShaderState(); // Create & Compile the shader objects - ShaderCode vp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, 1, Perftst.class, - "shader", "shader/bin", vShaderName); - ShaderCode fp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, 1, Perftst.class, - "shader", "shader/bin", fShaderName); + ShaderCode vp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, Perftst.class, + "shader", "shader/bin", vShaderName, false); + ShaderCode fp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, Perftst.class, + "shader", "shader/bin", fShaderName, false); // Create & Link the shader program ShaderProgram sp = new ShaderProgram(); -- cgit v1.2.3