From 3cddba688d45e61f0c8a76fd4c163745f09844d1 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 2 May 2007 18:55:45 -0600 Subject: [PATCH] get rid of normal vector --- progs/glsl/deriv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/progs/glsl/deriv.c b/progs/glsl/deriv.c index 63beef1c941..8b652bc1e46 100644 --- a/progs/glsl/deriv.c +++ b/progs/glsl/deriv.c @@ -149,7 +149,6 @@ MakeRect(void) { RectList = glGenLists(1); glNewList(RectList, GL_COMPILE); - glNormal3f(0, 0, 1); glBegin(GL_POLYGON); glTexCoord2f(0, 0); glVertex2f(-2, -2); glTexCoord2f(1, 0); glVertex2f( 2, -2); @@ -231,7 +230,6 @@ Init(void) " // gl_FragColor = gl_TexCoord[0];\n" "}\n"; static const char *vertShaderText = - "varying vec3 normal;\n" "void main() {\n" " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n" " gl_TexCoord[0] = gl_MultiTexCoord0;\n" -- 2.30.2