Fixes for Android builds

This commit is contained in:
Vladyslav Serhiienko
2023-01-30 22:59:48 -08:00
committed by Sam Lantinga
parent 0a3d038ff7
commit 47deebe23f
2 changed files with 4 additions and 0 deletions

View File

@@ -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;