From: Brian Date: Thu, 3 May 2007 00:55:45 +0000 (-0600) Subject: get rid of normal vector X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cddba688d45e61f0c8a76fd4c163745f09844d1;p=mesa.git get rid of normal vector --- 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"