mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-18 02:30:30 +01:00
gl: Use right format
The internal format should always be GL_RGBA.
This commit is contained in:
parent
4142f0836d
commit
ebc9cc46fe
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ _cairo_gl_get_image_format_and_type (pixman_format_code_t pixman_format,
|
|||
*has_alpha = FALSE;
|
||||
return TRUE;
|
||||
case PIXMAN_b8g8r8a8:
|
||||
*internal_format = GL_BGRA;
|
||||
*internal_format = GL_RGBA;
|
||||
*format = GL_BGRA;
|
||||
*type = GL_UNSIGNED_INT_8_8_8_8;
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue