• 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
SDL_uikitvideo.m 8 KB