Disabled OpenGL option.
authorRicardo Cruz <rick2@aeiou.pt>
Tue, 13 Apr 2004 13:20:58 +0000 (13:20 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Tue, 13 Apr 2004 13:20:58 +0000 (13:20 +0000)
SVN-Revision: 518

src/setup.cpp

index 3cf9980..b82c7ed 100644 (file)
@@ -510,11 +510,18 @@ void process_options_menu(void)
   switch (options_menu->check())
     {
     case 2:
-      if(use_gl != options_menu->item[2].toggled)
+      if(/*use_gl != */options_menu->item[2].toggled)
         {
 #ifndef NOOPENGL
+/*
           use_gl = !use_gl;
           st_video_setup();
+*/
+options_menu->item[2].toggled = false;
+printf("This feature has been temporarly disabled\n");
+#else
+  options_menu->item[2].toggled = false;
+  printf("OpenGL hasn't been enabled during compiling time.\n");
 #endif
         }
       break;