Revision 3163 added the following formats for OpenGL ES:
authorSam Lantinga <slouken@libsdl.org>
Fri, 16 Jul 2010 22:16:05 -0700
changeset 466652e871f486b8
parent 4665 c2493813a2f4
child 4668 a8ef4c3a5d8e
Revision 3163 added the following formats for OpenGL ES:
SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGR565
README.iphoneos
     1.1 --- a/README.iphoneos	Fri Jul 16 20:53:44 2010 -0400
     1.2 +++ b/README.iphoneos	Fri Jul 16 22:16:05 2010 -0700
     1.3 @@ -55,7 +55,7 @@
     1.4  
     1.5  Your SDL application for iPhone uses OpenGL ES for video by default.
     1.6  
     1.7 -OpenGL ES for iPhone supports two display pixel formats, RGBA8 and RGB565, which provide a 32 bit and 16 bit color buffer respectively.  By default, the implementation uses RGB565, but you may use RGBA8 by setting each color component to 8 bits in SDL_GL_SetAttribute.
     1.8 +OpenGL ES for iPhone supports several display pixel formats, such as RGBA8 and RGB565, which provide a 32 bit and 16 bit color buffer respectively.  By default, the implementation uses RGB565, but you may use RGBA8 by setting each color component to 8 bits in SDL_GL_SetAttribute.
     1.9  
    1.10  If your application doesn't use OpenGL's depth buffer, you may find significant performance improvement by setting SDL_GL_DEPTH_SIZE to 0.
    1.11