From: Ryan C. Gordon Date: Fri, 12 Aug 2005 07:42:33 +0000 (+0000) Subject: Whoops, broke browser launch code... X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=982282c738f6f48e0c1e8ad9156557b6930cbfa7;p=lugaru.git Whoops, broke browser launch code... --- diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index 24fcd87..30b0312 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -1302,10 +1302,6 @@ void CleanUp (void) // the context is destroyed and libGL unloaded by SDL_Quit(). pglDeleteTextures = glDeleteTextures_doNothing; - #if PLATFORM_LINUX - _exit(0); // !!! FIXME: hack...crashes on exit! - #endif - #elif (defined WIN32) if (hRC) { @@ -1649,6 +1645,10 @@ int main(int argc, char **argv) { launch_web_browser("http://www.wolfire.com/registerpc.html"); } + + #if PLATFORM_LINUX // (this may not be necessary any more.) + _exit(0); // !!! FIXME: hack...crashes on exit! + #endif return 0; } catch (const std::exception& error)