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:
Benjamin Otte 2010-05-19 20:49:49 +02:00
parent bb7ca71c1a
commit 0d5f2eab77

View file

@ -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;