summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/glsl/deriv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/progs/glsl/deriv.c b/progs/glsl/deriv.c
index 63beef1c94..8b652bc1e4 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"