From 2c92309825604df1e7426f73c2900508386db419 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 1 May 2011 20:23:49 +0000 Subject: [PATCH] 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 --- vid_sdl.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2