author Sam Lantinga <slouken@libsdl.org>
Fri, 12 Oct 2012 02:20:10 -0700
changeset 6578 77d70ec131bc
parent 6159 fb6f363032fd
child 10036 e6bb3d0d0902
permissions -rw-r--r--
Added SDL_GetRenderTarget() API function Also fixed a bug with setting logical size for a render target.

TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS.  Most of these test programs work fine, with the following exceptions:

	Program crashes.  Problem appears to effect Mac OS X as well.

	SIGTERM kills the process immediately without executing the 'kill' function.  The posix standard says this shouldn't happen.  Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?)

	Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT.

	"SDL error: blitting boat: Blit combination not supported."  Happens on Mac OS X as well.

	SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR.

	Behaves as it does under Mac OS X ... not sure if that is correctly or not.

	Works if -threaded is not on.  Otherwise it doesn't work, but this is true under Mac OS X as well.