• Kees Bakker's avatar
    Do not use UIScreenMode to add a iOS display, always use the boundary · eecf78dc
    Kees Bakker authored
    This solves the problem that on iPad you would get 1024x768 instead
    of 768x1024 when calling SDL_GetDesktopDisplayMode(0, &mode)
    See Apple's doc for UIScreenMode where is says:
    "Most developers should never need to use the information provided
     by this class and should simply use the bounds provided by the
     UIScreen object for their drawing space."
    eecf78dc
Name
Last commit
Last update
..
atomic Loading commit data...
audio Loading commit data...
core Loading commit data...
cpuinfo Loading commit data...
events Loading commit data...
file Loading commit data...
haptic Loading commit data...
joystick Loading commit data...
libm Loading commit data...
loadso Loading commit data...
main Loading commit data...
power Loading commit data...
render Loading commit data...
stdlib Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
SDL.c Loading commit data...
SDL_assert.c Loading commit data...
SDL_assert_c.h Loading commit data...
SDL_compat.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...
SDL_hints.c Loading commit data...
SDL_hints_c.h Loading commit data...
SDL_log.c Loading commit data...