diff src/video/SDL_video.c @ 5062:e8916fe9cfc8

Fixed bug #925 Changed "win32" to "windows"
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 18:04:05 -0800
parents 187d7d446306
children 797b37c0c046
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Jan 20 17:33:06 2011 -0800
+++ b/src/video/SDL_video.c	Thu Jan 20 18:04:05 2011 -0800
@@ -34,8 +34,8 @@
 #include "../events/SDL_sysevents.h"
 #include "../events/SDL_events_c.h"
 
-#if SDL_VIDEO_DRIVER_WIN32
-#include "win32/SDL_win32video.h"
+#if SDL_VIDEO_DRIVER_WINDOWS
+#include "windows/SDL_windowsvideo.h"
 extern void IME_Present(SDL_VideoData *videodata);
 #endif
 
@@ -65,8 +65,8 @@
 #if SDL_VIDEO_DRIVER_DIRECTFB
     &DirectFB_bootstrap,
 #endif
-#if SDL_VIDEO_DRIVER_WIN32
-    &WIN32_bootstrap,
+#if SDL_VIDEO_DRIVER_WINDOWS
+    &WINDOWS_bootstrap,
 #endif
 #if SDL_VIDEO_DRIVER_BWINDOW
     &BWINDOW_bootstrap,
@@ -2708,7 +2708,7 @@
     if (!renderer || !renderer->RenderPresent) {
         return;
     }
-#if SDL_VIDEO_DRIVER_WIN32
+#if SDL_VIDEO_DRIVER_WINDOWS
     IME_Present((SDL_VideoData *)_this->driverdata);
 #endif
     renderer->RenderPresent(renderer);