We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3337

Summary: iOS Resolution incorrect
Product: SDL Reporter: Kai <superwangkai>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2 CC: amaranth72
Version: 2.0.4   
Hardware: iPhone/iPod touch   
OS: Other   

Description Kai 2016-05-19 06:09:09 UTC
I'm testing on iPhone 6 with iOS 9.3.

I run demos(eg. Rectangles) from SDL2's Xcode-iOS folder. The resolution the demos pick is wrong, 480x320, instead of 1334x750.

Thus, they show smaller window at the center of the screen without any retina support.
Comment 1 Alex Szpakowski 2016-05-19 16:27:27 UTC
That old demo code has a hard-coded resolution I believe, your own code won't have that issue.

That said, make sure to read the README-ios.md file, particularly the part about Retina resolutions on iOS.
Comment 2 Alex Szpakowski 2016-09-25 03:24:18 UTC
The demos have been updated so they don't have hard-coded resolutions anymore.