Message ID | 20100313121556.68F851300B8@annarchy.freedesktop.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c index b180c1d..943c034 100644 --- a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c +++ b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c @@ -68,6 +68,12 @@ static gl_format gl_format_and_type_to_mesa_format(GLenum format, GLenum type) return MESA_FORMAT_ARGB8888_REV; } break; + case GL_BGRA: + switch (type) { + case GL_UNSIGNED_INT_8_8_8_8_REV: + return MESA_FORMAT_ARGB8888; + } + break; }