gles: Enable the GL_EXT_read_format_bgra extension
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Sat, 24 Mar 2012 07:50:47 +0000 (08:50 +0100)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 27 Mar 2012 07:03:19 +0000 (09:03 +0200)
commit860f4846c711ac2e9d597314a692561bf34c86ba
treef0a54d32f1f8f0548c20fae02e52776744b3d8ce
parente9a5457d730e4616ec6820029ba80e9641b22652
gles: Enable the GL_EXT_read_format_bgra extension

Also fixes the usage of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES,
which may be set to a BGRA format e.g. for a MESA_FORMAT_ARGB8888 fb.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/APIspec.xml
src/mesa/main/extensions.c