From d7fd66581c5ea2bdb6c6f589fb02c0c40ee6974b Mon Sep 17 00:00:00 2001 From: molivier Date: Wed, 7 Sep 2005 09:54:30 +0000 Subject: [PATCH] Fixed the SDL video driver on Mac OS X (crash when restarting). Thanks to BigMac for the patch git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5689 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_sdl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vid_sdl.c b/vid_sdl.c index 0474a26c..295d8bca 100644 --- 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; -- 2.39.2