mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 00:18:28 +00:00
Fixes for Android builds
This commit is contained in:

committed by
Sam Lantinga

parent
0a3d038ff7
commit
47deebe23f
@@ -293,6 +293,7 @@ void Android_SendResize(SDL_Window *window)
|
||||
int w, h;
|
||||
SDL_VideoDisplay *display = SDL_GetVideoDisplayForWindow(window);
|
||||
SDL_DisplayMode current_mode;
|
||||
SDL_zero(current_mode);
|
||||
|
||||
current_mode.format = Android_ScreenFormat;
|
||||
current_mode.pixel_w = Android_DeviceWidth;
|
||||
|
Reference in New Issue
Block a user