Tweak GLES compile-time switch semantics
[neverball] / share / video.c
index 2d51ab4..0d2fb5a 100644 (file)
@@ -98,7 +98,7 @@ int video_mode(int f, int w, int h)
         glEnable(GL_LIGHTING);
         glEnable(GL_BLEND);
 
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
         glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL,
                       GL_SEPARATE_SPECULAR_COLOR);
 #endif