view XCodeiPhoneOS/Test/README @ 3262:e3d33bd599eb

Stefan Ullinger Hi, so here we go: GL_LINE_SMOOTH bad for business! ;) I checked the code within SDL_renderer_gl.c / GL_CreateRenderer(..) and have found the reason for blurred lines when using OpenGL. I have attached 2 images here. I don't know whether this has to be changed and I don't know if there is an option to turn it off/on...just wanted to say that with GL_LINE_SMOOTH enabled there is a difference when rendering with opengl compared to directx.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 19 Sep 2009 04:43:41 +0000
parents f55c87ae336b
children
line wrap: on
line source

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:

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

testhread:
	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(?)

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

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

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

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

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