From 91dab27a9ed3208dbcc9c35170cf3e913418ac13 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 25 Jul 2008 17:57:43 +0000 Subject: 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 --- src/demos/es1/cube/Cube.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/demos') 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) { -- cgit v1.2.3