Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/windows/SDL_windowsmodes.c Fri Feb 11 00:25:44 2011 -0800 +++ b/src/video/windows/SDL_windowsmodes.c Fri Feb 11 10:13:30 2011 -0800 @@ -217,8 +217,8 @@ // WINCE: DEVMODE.dmPosition not found, or may be mingw32ce bug rect->x = 0; rect->y = 0; - rect->w = display->windows->w; - rect->h = display->windows->h; + rect->w = _this->windows->w; + rect->h = _this->windows->h; #else rect->x = (int)data->DeviceMode.dmPosition.x; rect->y = (int)data->DeviceMode.dmPosition.y;