mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 03:48:03 +02:00
gl: Fix one more CAIRO_GL_FLAVOR_ES3 enum
This commit is contained in:
parent
eb5232002b
commit
3f1a6f7225
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ _cairo_gl_gradient_create (cairo_gl_context_t *ctx,
|
|||
* In OpenGL ES 2.0 no format conversion is allowed i.e. 'internalFormat'
|
||||
* must match 'format' in glTexImage2D.
|
||||
*/
|
||||
if (_cairo_gl_get_flavor () == CAIRO_GL_FLAVOR_ES)
|
||||
if (_cairo_gl_get_flavor () == CAIRO_GL_FLAVOR_ES2)
|
||||
internal_format = GL_BGRA;
|
||||
else
|
||||
internal_format = GL_RGBA;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue