Xcode-iOS/Test/README
author Ryan C. Gordon
Sun, 31 May 2015 11:38:10 -0400
changeset 9688 596a3da0c9cb
parent 6159 fb6f363032fd
child 10036 e6bb3d0d0902
permissions -rw-r--r--
Fixed swizzle of SDL_FillRect() on 24-bit surface (thanks, "nagydavid91"!).

Fixes Bugzilla #2986.
     1 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:
     2 
     3 testalpha:
     4 	Program crashes.  Problem appears to effect Mac OS X as well.
     5 
     6 testthread:
     7 	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(?)
     8 
     9 testlock:
    10 	Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT.
    11 
    12 testpalette:
    13 	"SDL error: blitting boat: Blit combination not supported."  Happens on Mac OS X as well.
    14 
    15 testsprite2: 
    16 	SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR.
    17 
    18 testwin:
    19 	Behaves as it does under Mac OS X ... not sure if that is correctly or not.
    20 
    21 threadwin:
    22 	Works if -threaded is not on.  Otherwise it doesn't work, but this is true under Mac OS X as well.