From 8de76f1958adc062626e4b2ae59d8187a6d7db59 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 16 Jul 2010 22:16:05 -0700 Subject: [PATCH] Revision 3163 added the following formats for OpenGL ES: SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGR565 --- README.iphoneos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.iphoneos b/README.iphoneos index e05c28ad7..c68aabf6e 100644 --- a/README.iphoneos +++ b/README.iphoneos @@ -55,7 +55,7 @@ Notes -- OpenGL ES 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.