# HG changeset patch # User Sam Lantinga # Date 1279343765 25200 # Node ID 52e871f486b80a799e46209cee7698652b1393a3 # Parent c2493813a2f4a0d1918d1df9b0c2eee2cd72e483 Revision 3163 added the following formats for OpenGL ES: SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGR565 diff -r c2493813a2f4 -r 52e871f486b8 README.iphoneos --- a/README.iphoneos Fri Jul 16 20:53:44 2010 -0400 +++ b/README.iphoneos Fri Jul 16 22:16:05 2010 -0700 @@ -55,7 +55,7 @@ Your SDL application for iPhone uses OpenGL ES for video by default. -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. +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. If your application doesn't use OpenGL's depth buffer, you may find significant performance improvement by setting SDL_GL_DEPTH_SIZE to 0.