From: Ricardo Cruz Date: Tue, 13 Apr 2004 13:20:58 +0000 (+0000) Subject: Disabled OpenGL option. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3f106f8a6a77808c4c7d5b1d740cb98e8faf3062;p=supertux.git Disabled OpenGL option. SVN-Revision: 518 --- diff --git a/src/setup.cpp b/src/setup.cpp index 3cf9980f1..b82c7ed09 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -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;