summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/cube/Cube.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-12 15:29:01 +0200
committerSven Gothel <[email protected]>2012-10-12 15:29:01 +0200
commitbd47a89aad60a6915551fa847eea1ecda78fc9d5 (patch)
treeafe4afc204e7642f74f36543099de9c3a951375f /src/demos/es1/cube/Cube.java
parent516131e6dd5beabc9df6d659c3f7284965bbe537 (diff)
Adapt to latest JOGL changes
Diffstat (limited to 'src/demos/es1/cube/Cube.java')
-rw-r--r--src/demos/es1/cube/Cube.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java
index 001f821..49c9544 100644
--- a/src/demos/es1/cube/Cube.java
+++ b/src/demos/es1/cube/Cube.java
@@ -95,7 +95,7 @@ public class Cube implements GLEventListener {
} catch (Exception e) {e.printStackTrace();}
}
- GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(_gl);
+ GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(_gl, ShaderSelectionMode.AUTO, null);
glu = GLU.createGLU();