gles2: Also support GL_BGRA_EXT for glTexSubImage2d
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 14 Jan 2011 21:11:28 +0000 (16:11 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 14 Jan 2011 21:12:21 +0000 (16:12 -0500)
src/mesa/main/APIspec.xml

index 16d0c94..2a98c95 100644 (file)
                        <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">