mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
raspberry: SDL_DisplayMode's w/h members have been renamed to screen_w/screen_h
Found by running the coccinelle script on SDL's source tree.
This commit is contained in:

committed by
Sam Lantinga

parent
936a51d5cc
commit
f2a277414f
@@ -245,8 +245,8 @@ int RPI_CreateWindow(_THIS, SDL_Window *window)
|
||||
displaydata = display->driverdata;
|
||||
|
||||
/* Windows have one size for now */
|
||||
window->w = display->desktop_mode.w;
|
||||
window->h = display->desktop_mode.h;
|
||||
window->w = display->desktop_mode.screen_w;
|
||||
window->h = display->desktop_mode.screen_h;
|
||||
|
||||
/* OpenGL ES is the law here, buddy */
|
||||
window->flags |= SDL_WINDOW_OPENGL;
|
||||
|
Reference in New Issue
Block a user