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 - Fixes for iOS 3.x / iPhone 3G and others
Summary: Fixes for iOS 3.x / iPhone 3G and others
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: ARM iOS (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 04:43 UTC by Gueniffey
Modified: 2013-05-21 02:51 UTC (History)
0 users

See Also:


Attachments
Patch for iOS 3.x (30.41 KB, patch)
2011-08-30 04:43 UTC, Gueniffey
Details | Diff
Updated patch for iOS SDK 5 (14.83 KB, application/octet-stream)
2011-11-23 04:03 UTC, Gueniffey
Details

Note You need to log in before you can comment on or make changes to this bug.
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!