summaryrefslogtreecommitdiff
path: root/src/redbook/polyoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redbook/polyoff.c')
-rw-r--r--src/redbook/polyoff.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/redbook/polyoff.c b/src/redbook/polyoff.c
index bf23db7c..41018900 100644
--- a/src/redbook/polyoff.c
+++ b/src/redbook/polyoff.c
@@ -46,7 +46,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef GL_VERSION_1_1
GLuint list;
GLint fill = 1;
GLfloat spinx = 0;
@@ -312,12 +311,3 @@ int main(int argc, char** argv)
glutMainLoop();
return 0;
}
-#else
-int main(int argc, char** argv)
-{
- fprintf (stderr, "This program demonstrates a feature which is not in OpenGL Version 1.0.\n");
- fprintf (stderr, "If your implementation of OpenGL Version 1.0 has the right extensions,\n");
- fprintf (stderr, "you may be able to modify this program to make it run.\n");
- return 0;
-}
-#endif