[cairo] [PATCH 57/71] drm/i915: fixed call to _cairo_pattern_sampled_area()

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Mon Apr 17 16:57:36 UTC 2017


Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
 src/drm/cairo-drm-i915-shader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drm/cairo-drm-i915-shader.c b/src/drm/cairo-drm-i915-shader.c
index b7a23b92b..4c6de3ff5 100644
--- a/src/drm/cairo-drm-i915-shader.c
+++ b/src/drm/cairo-drm-i915-shader.c
@@ -1491,7 +1491,7 @@ i915_shader_acquire_surface (i915_shader_t *shader,
     extend = pattern->base.extend;
     src->base.matrix = pattern->base.matrix;
     filter = pattern->base.filter;
-    _cairo_pattern_sampled_area(&pattern->base, extents, sample);
+    _cairo_pattern_sampled_area(&pattern->base, extents, &sample);
 
     if (surface->type == CAIRO_SURFACE_TYPE_DRM) {
 	if (surface->backend->type == CAIRO_SURFACE_TYPE_SUBSURFACE) {
-- 
2.11.0.rc0.7.gbe5a750



More information about the cairo mailing list