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 1295

Summary: Fixes for iOS 3.x / iPhone 3G and others
Product: SDL Reporter: Gueniffey <pierre-yves>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.0   
Hardware: ARM   
OS: iOS (All)   
Attachments: Patch for iOS 3.x
Updated patch for iOS SDK 5

Description Gueniffey 2011-08-30 04:43:07 UTC
Here is a patch that addresses several issues with the iOS build of SDL. It's working with iOS 3.x / 4.x. I didn't test with 5.0. Tested with an iPhone 3G / iPad / iPhone 4 (i.e. OpenGL ES 1 and 2)
Comment 1 Gueniffey 2011-08-30 04:43:53 UTC
Created attachment 693 [details]
Patch for iOS 3.x
Comment 2 Gueniffey 2011-11-23 04:03:27 UTC
Created attachment 731 [details]
Updated patch for iOS SDK 5

This patch is updated for current version of SDL 1.3 with iOS SDK 5.
Several bugs have been fixed for interface rotation and multitouch.
The retina display support has been disabled as it doesn't seem to work in the current version (in the patch the SDL window has always the same size as logical coordinates, not real screen size).
Comment 3 Sam Lantinga 2011-12-29 02:24:28 UTC
I fixed a number of issues in the iOS build recently and it seems like my changes may overlap yours.  Can you grab the latest snapshot and see what issues are still there that need to be addressed?
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!