mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-11-16 17:05:19 +00:00
Expand SDLActivity::SDLSurface::surfaceChanged() callback to grab the panel width and height at the same time and pass that along to the native code. Only works on API 17+. Duplicates surface dimensions whenever it fails. Add Android_DeviceWidth/Android_DeviceHeight globals to native code. Disambiguate Android_ScreenWidth/Android_ScreenHeight -> Android_SurfaceWidth/Android_SurfaceHeight Use device width/height for all display mode settings. |
||
|---|---|---|
| .. | ||
| java/org/libsdl/app | ||
| res | ||
| AndroidManifest.xml | ||