summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-05-30 15:42:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-05-30 15:42:22 +0000
commitf8f830d59d2ef1fdff79510c846215b571069d43 (patch)
treed65b78cb1f720cc5798ebc726ff67657a382331b /progs
parent62dc802818f865484b53b28548b6b51e67fdff09 (diff)
minor clean-ups
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/fplight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/fplight.c b/progs/demos/fplight.c
index 12a3e917ac..eebe9d1c5c 100644
--- a/progs/demos/fplight.c
+++ b/progs/demos/fplight.c
@@ -53,7 +53,6 @@ static void Display( void )
glRotatef(Xrot, 1, 0, 0);
glRotatef(Yrot, 0, 1, 0);
- glTexCoord2f(0, 0);
#if 1
glutSolidSphere(2.0, 10, 5);
#else
@@ -218,7 +217,9 @@ static void Init( void )
}
glGenProgramsNV(1, &FragProg);
+ assert(FragProg > 0);
glGenProgramsNV(1, &VertProg);
+ assert(VertProg > 0);
/*
* Fragment program
@@ -247,7 +248,6 @@ static void Init( void )
* Misc init
*/
glClearColor(0.3, 0.3, 0.3, 0.0);
- glEnable(GL_ALPHA_TEST); /* temporary hack */
glEnable(GL_DEPTH_TEST);
glEnable(GL_LIGHT0);
glEnable(GL_LIGHTING);