]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
make vid_sdl compile on WIN32 again (it uses different icon code on
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 18 Nov 2007 18:33:32 +0000 (18:33 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 18 Nov 2007 18:33:32 +0000 (18:33 +0000)
WIN32 and wasn't declaring an empty VID_SetIcon implementation)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7706 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index 52298e0eb81a886963aaa1a9f9fac4fe26555819..da6f52992e335d644595f7d583fc836f0ffabece 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -501,6 +501,9 @@ static void VID_SetCaption()
 #endif
        SetClassLongPtr( info.window, GCLP_HICON, (LONG_PTR)icon );
 }
+static void VID_SetIcon()
+{
+}
 #else
 // Adding the OS independent XPM version --blub
 #include "darkplaces.xpm"