Mercurial > sdl-ios-xcode
comparison src/video/windows/SDL_windowsmodes.c @ 5255:f908e06b3c96
Fixed compiling on Windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 11 Feb 2011 10:13:30 -0800 |
parents | be02be2ea897 |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5254:7a963be087ef | 5255:f908e06b3c96 |
---|---|
215 | 215 |
216 #ifdef _WIN32_WCE | 216 #ifdef _WIN32_WCE |
217 // WINCE: DEVMODE.dmPosition not found, or may be mingw32ce bug | 217 // WINCE: DEVMODE.dmPosition not found, or may be mingw32ce bug |
218 rect->x = 0; | 218 rect->x = 0; |
219 rect->y = 0; | 219 rect->y = 0; |
220 rect->w = display->windows->w; | 220 rect->w = _this->windows->w; |
221 rect->h = display->windows->h; | 221 rect->h = _this->windows->h; |
222 #else | 222 #else |
223 rect->x = (int)data->DeviceMode.dmPosition.x; | 223 rect->x = (int)data->DeviceMode.dmPosition.x; |
224 rect->y = (int)data->DeviceMode.dmPosition.y; | 224 rect->y = (int)data->DeviceMode.dmPosition.y; |
225 rect->w = data->DeviceMode.dmPelsWidth; | 225 rect->w = data->DeviceMode.dmPelsWidth; |
226 rect->h = data->DeviceMode.dmPelsHeight; | 226 rect->h = data->DeviceMode.dmPelsHeight; |