aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-15 16:35:43 +0200
committerSven Gothel <[email protected]>2012-10-15 16:35:43 +0200
commitf8fb65c7cd79743a6501fe63ff1e28479ceedb4f (patch)
treed6778ee91f2fdf95871916057270c3cf90824a2a /src/jogl/classes/jogamp/opengl/util
parente658ab1e427a7957b9dbfa4a396506de6c6582fd (diff)
FixedFuncColorTexture.fp: Remove unused local var
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp b/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp
index 2593dc750..1810891b3 100644
--- a/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp
+++ b/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp
@@ -59,8 +59,6 @@ void main (void)
( MGL_FRONT_AND_BACK == mgl_CullFace ) ) ) {
DISCARD(color);
} else {
- int texEnv = 0;
-
#if MAX_TEXTURE_UNITS >= 2
if( 0 != mgl_TextureEnabled[0] ) {
calcTexColor(color, texture2D(mgl_Texture0, mgl_TexCoords[0].st), mgl_TexFormat[0], mgl_TexEnvMode[0]);