diff options
author | Sven Gothel <[email protected]> | 2008-07-25 17:57:43 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-25 17:57:43 +0000 |
commit | 91dab27a9ed3208dbcc9c35170cf3e913418ac13 (patch) | |
tree | d8722a230f3ebf346858a6fc0285632cb6af46c0 /src/demos | |
parent | 0b1b93e201294cad2000247e672f3b27dc5ab52b (diff) |
Cube@ES2: use the texture shader, always
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@265 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos')
-rw-r--r-- | src/demos/es1/cube/Cube.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index e9e55cc..bbfbb35 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -75,8 +75,8 @@ public class Cube implements GLEventListener { glu = GLU.createGLU(); if(gl.isGLES2()) { if( 0 == ( gl.getGLES2().getEnabledFixedFunctionEmulationModes() & GLES2.FIXED_EMULATION_VERTEXCOLOR ) ) { - gl.getGLES2().enableFixedFunctionEmulationMode(GLES2.FIXED_EMULATION_VERTEXCOLOR); - System.err.println("Cubes Fixed emu: FIXED_EMULATION_VERTEXCOLOR"); + gl.getGLES2().enableFixedFunctionEmulationMode(GLES2.FIXED_EMULATION_VERTEXCOLOR | GLES2.FIXED_EMULATION_TEXTURE); + System.err.println("Cubes Fixed emu: FIXED_EMULATION_VERTEXCOLOR | FIXED_EMULATION_TEXTURE"); } } if(!innerCube) { |