Module: Mesa
Branch: master
Commit: 6e9b0f6807c7a22f096f483961ae71512f8d9f41
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e9b0f6807c7a22f096f483961ae71512f8d9f41

Author: Kristian Høgsberg <k...@bitplanet.net>
Date:   Fri Jan 14 16:11:28 2011 -0500

gles2: Also support GL_BGRA_EXT for glTexSubImage2d

---

 src/mesa/main/APIspec.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml
index 16d0c94..2a98c95 100644
--- a/src/mesa/main/APIspec.xml
+++ b/src/mesa/main/APIspec.xml
@@ -2004,6 +2004,14 @@
                        <value name="GL_UNSIGNED_INT_24_8_OES"/>
                </desc>
        </desc>
+
+       <desc name="format" category="EXT_texture_format_BGRA8888">
+               <value name="GL_BGRA_EXT"/>
+
+               <desc name="type" error="GL_INVALID_OPERATION">
+                       <value name="GL_UNSIGNED_BYTE"/>
+               </desc>
+       </desc>
 </template>
 
 <template name="BindTexture">

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to