From: havoc Date: Sun, 1 May 2011 20:23:49 +0000 (+0000) Subject: fix a compile error in my last edit for OSX X-Git-Tag: xonotic-v0.6.0~163^2~458 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2c92309825604df1e7426f73c2900508386db419;p=xonotic%2Fdarkplaces.git fix a compile error in my last edit for OSX git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11088 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_sdl.c b/vid_sdl.c index aa76d6df..75b9e101 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -2433,10 +2433,12 @@ void VID_Shutdown (void) #if SETVIDEOMODE #ifndef WIN32 +#ifndef MACOSX if (icon) SDL_FreeSurface(icon); icon = NULL; #endif +#endif #endif if (vid_softsurface)