mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-15 20:50:42 +01:00
gl: Actuall do fall back to fixed function paths.
Previously we were just returning UNSUPPORTED all the time. I guess that explains why my code got so slow...
This commit is contained in:
parent
bb7ca71c1a
commit
0d5f2eab77
1 changed files with 3 additions and 1 deletions
|
|
@ -1086,7 +1086,9 @@ _cairo_gl_composite_begin (cairo_gl_context_t *ctx,
|
|||
: CAIRO_GL_SHADER_IN_NORMAL);
|
||||
if (unlikely (status)) {
|
||||
setup->pre_shader = NULL;
|
||||
return status;
|
||||
if (_cairo_status_is_error (status))
|
||||
return status;
|
||||
/* fall back to fixed function here */
|
||||
}
|
||||
|
||||
status = CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue