Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
5061:9e9940eae455 | 5062:e8916fe9cfc8 |
---|---|
32 #include "SDL_renderer_gles.h" | 32 #include "SDL_renderer_gles.h" |
33 #include "SDL_renderer_sw.h" | 33 #include "SDL_renderer_sw.h" |
34 #include "../events/SDL_sysevents.h" | 34 #include "../events/SDL_sysevents.h" |
35 #include "../events/SDL_events_c.h" | 35 #include "../events/SDL_events_c.h" |
36 | 36 |
37 #if SDL_VIDEO_DRIVER_WIN32 | 37 #if SDL_VIDEO_DRIVER_WINDOWS |
38 #include "win32/SDL_win32video.h" | 38 #include "windows/SDL_windowsvideo.h" |
39 extern void IME_Present(SDL_VideoData *videodata); | 39 extern void IME_Present(SDL_VideoData *videodata); |
40 #endif | 40 #endif |
41 | 41 |
42 #if SDL_VIDEO_OPENGL_ES | 42 #if SDL_VIDEO_OPENGL_ES |
43 #include "SDL_opengles.h" | 43 #include "SDL_opengles.h" |
63 &X11_bootstrap, | 63 &X11_bootstrap, |
64 #endif | 64 #endif |
65 #if SDL_VIDEO_DRIVER_DIRECTFB | 65 #if SDL_VIDEO_DRIVER_DIRECTFB |
66 &DirectFB_bootstrap, | 66 &DirectFB_bootstrap, |
67 #endif | 67 #endif |
68 #if SDL_VIDEO_DRIVER_WIN32 | 68 #if SDL_VIDEO_DRIVER_WINDOWS |
69 &WIN32_bootstrap, | 69 &WINDOWS_bootstrap, |
70 #endif | 70 #endif |
71 #if SDL_VIDEO_DRIVER_BWINDOW | 71 #if SDL_VIDEO_DRIVER_BWINDOW |
72 &BWINDOW_bootstrap, | 72 &BWINDOW_bootstrap, |
73 #endif | 73 #endif |
74 #if SDL_VIDEO_DRIVER_PHOTON | 74 #if SDL_VIDEO_DRIVER_PHOTON |
2706 | 2706 |
2707 renderer = SDL_GetCurrentRenderer(SDL_TRUE); | 2707 renderer = SDL_GetCurrentRenderer(SDL_TRUE); |
2708 if (!renderer || !renderer->RenderPresent) { | 2708 if (!renderer || !renderer->RenderPresent) { |
2709 return; | 2709 return; |
2710 } | 2710 } |
2711 #if SDL_VIDEO_DRIVER_WIN32 | 2711 #if SDL_VIDEO_DRIVER_WINDOWS |
2712 IME_Present((SDL_VideoData *)_this->driverdata); | 2712 IME_Present((SDL_VideoData *)_this->driverdata); |
2713 #endif | 2713 #endif |
2714 renderer->RenderPresent(renderer); | 2714 renderer->RenderPresent(renderer); |
2715 } | 2715 } |
2716 | 2716 |