]> git.rm.cloudns.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)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 1 May 2011 21:18:26 +0000 (23:18 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11088 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=2c92309825604df1e7426f73c2900508386db419

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)