Mercurial > sdl-ios-xcode
diff src/video/windows/SDL_gdirender.c @ 5088:c2539ff054c8
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 15:46:11 -0800 |
parents | e8916fe9cfc8 |
children |
line wrap: on
line diff
--- a/src/video/windows/SDL_gdirender.c Mon Jan 24 15:10:16 2011 -0800 +++ b/src/video/windows/SDL_gdirender.c Mon Jan 24 15:46:11 2011 -0800 @@ -167,8 +167,10 @@ SDL_WindowData *windowdata = (SDL_WindowData *) window->driverdata; SDL_Renderer *renderer; GDI_RenderData *data; +#ifndef NO_GETDIBBITS int bmi_size; HBITMAP hbm; +#endif int i, n; renderer = (SDL_Renderer *) SDL_calloc(1, sizeof(*renderer));