diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-gl-operand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-gl-operand.c b/src/cairo-gl-operand.c index ee6c08e6..47d01046 100644 --- a/src/cairo-gl-operand.c +++ b/src/cairo-gl-operand.c @@ -269,6 +269,9 @@ _cairo_gl_surface_operand_init (cairo_gl_operand_t *operand, if (surface->base.device && surface->base.device != dst->base.device) return CAIRO_INT_STATUS_UNSUPPORTED; + if (! _cairo_gl_surface_is_texture (surface)) + return CAIRO_INT_STATUS_UNSUPPORTED; + status = _resolve_multisampling (surface); if (unlikely (status)) return status; |