summaryrefslogtreecommitdiff
path: root/src/demos/glinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/glinfo.c')
-rw-r--r--src/demos/glinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/demos/glinfo.c b/src/demos/glinfo.c
index 62bf5a36..103c1d5e 100644
--- a/src/demos/glinfo.c
+++ b/src/demos/glinfo.c
@@ -25,7 +25,6 @@ int main( int argc, char *argv[] )
printf("GL_VENDOR: %s\n", (char *) glGetString(GL_VENDOR));
printf("GL_EXTENSIONS: %s\n", (char *) glGetString(GL_EXTENSIONS));
-#ifdef GL_VERSION_2_0
{
const GLubyte *v = glGetString(GL_VERSION);
if (v[0] * 10 + v[2] >= 20) {
@@ -33,7 +32,6 @@ int main( int argc, char *argv[] )
printf("GL_SHADING_LANGUAGE_VERSION = %s\n", slv);
}
}
-#endif
printf("GLU_VERSION: %s\n", (char *) gluGetString(GLU_VERSION));
printf("GLU_EXTENSIONS: %s\n", (char *) gluGetString(GLU_EXTENSIONS));