]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 aa76d6df50cf13943d0df9d49f45f9a7390ff378..75b9e1017b4c57ffb1834854a5b9b44678a15859 100644 (file)
--- 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)