summaryrefslogtreecommitdiffstats
path: root/progs/glsl
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-05-02 18:55:45 -0600
committerBrian <[email protected]>2007-05-02 18:55:45 -0600
commit3cddba688d45e61f0c8a76fd4c163745f09844d1 (patch)
treedfd61428139f703f62b00ae9a3ce2c770e179145 /progs/glsl
parentdc881e19098ec3d04246ad07baded5ad4d916b66 (diff)
get rid of normal vector
Diffstat (limited to 'progs/glsl')
-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 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"