Mercurial > sdl-ios-xcode
comparison src/video/windows/SDL_windowsframebuffer.c @ 5181:4191af605cb0
Fixed compiling on Windows CE
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 04 Feb 2011 13:58:29 -0800 |
parents | 6d37aa594ecd |
children | d2652aafafbb |
comparison
equal
deleted
inserted
replaced
5180:019942602496 | 5181:4191af605cb0 |
---|---|
21 */ | 21 */ |
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 #include "SDL_windowsvideo.h" | 24 #include "SDL_windowsvideo.h" |
25 | 25 |
26 #ifndef _WIN32_WCE | |
26 #define HAVE_GETDIBITS | 27 #define HAVE_GETDIBITS |
28 #endif | |
27 | 29 |
28 int WIN_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch) | 30 int WIN_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch) |
29 { | 31 { |
30 SDL_WindowData *data = (SDL_WindowData *) window->driverdata; | 32 SDL_WindowData *data = (SDL_WindowData *) window->driverdata; |
31 size_t size; | 33 size_t size; |