Fixed compiling on Windows
This commit is contained in:
parent
9560b718a2
commit
b26aaee0f2
7 changed files with 6 additions and 40 deletions
4
src/video/windows/SDL_windowsmodes.c
Normal file → Executable file
4
src/video/windows/SDL_windowsmodes.c
Normal file → Executable file
|
@ -217,8 +217,8 @@ WIN_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect)
|
|||
// 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue