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 16d0c9413d07ecf2d6197029b7962c4c990c7812..2a98c952e0599c3332fbe073ce2ff32ed85f10fc 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">