fix a compile error in my last edit for OSX
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 1 May 2011 20:23:49 +0000 (20:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 1 May 2011 20:23:49 +0000 (20:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11088 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index aa76d6d..75b9e10 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -2433,11 +2433,13 @@ void VID_Shutdown (void)
 
 #if SETVIDEOMODE
 #ifndef WIN32
+#ifndef MACOSX
        if (icon)
                SDL_FreeSurface(icon);
        icon = NULL;
 #endif
 #endif
+#endif
 
        if (vid_softsurface)
                SDL_FreeSurface(vid_softsurface);