Skip to content

i965: Use GL_BGRA_EXT internal format for B8G8R8A8 / B8G8R8X8

With a B8G8R8A8_UNORM / B8G8R8X8 image, when the app does the following:

glEGLImageTargetTexture2DOES(..) glTexSubImage2D(..)

_mesa_gles_error_check_format_and_type(..) returns GL_INVALID_OPERATION (see 6ad9eb for details). Let's specify the correct internal format up front to correct this.

Merge request reports