aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-31 20:40:56 +0200
committerSven Gothel <[email protected]>2011-07-31 20:40:56 +0200
commit99df2204c92eb06b37fba6ff75aa6b7f5e803502 (patch)
tree0620fc095a5009992ea1deab15311fe1186b9bda /src/test/com/jogamp
parent3349511aeb68c1228e420b3c1ea1758bb75d3e03 (diff)
FixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul()
Fix wrapFixedFuncEmul(): - only wrap if ES2 and (!ES1 || force) - return same profile if ES1 - otherwise throw exception
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/RedSquare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/RedSquare.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/RedSquare.java
index eaf697a10..5b7f1d12a 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/RedSquare.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/RedSquare.java
@@ -61,7 +61,7 @@ public class RedSquare implements GLEventListener {
glTrace = false;
}
- GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(_gl);
+ GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(_gl);
if(swapInterval>=0) {
gl.setSwapInterval(swapInterval);
}