]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed the SDL video driver on Mac OS X (crash when restarting). Thanks to BigMac...
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Sep 2005 09:54:30 +0000 (09:54 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Sep 2005 09:54:30 +0000 (09:54 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5689 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index 0474a26c73f19976ab8e72a5c3cbea37a4eb9844..295d8bca9174781c5b6f611c03af3a58f2bb2bc0 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -359,9 +359,7 @@ int VID_InitMode(int fullscreen, int width, int height, int bpp)
                We cant switch from one OpenGL video mode to another.
                Thus we first switch to some stupid 2D mode and then back to OpenGL.
        */
-#ifndef MACOSX
        SDL_SetVideoMode( 0, 0, 0, 0 );
-#endif
 
        // SDL usually knows best
        drivername = NULL;