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

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Thu Jun 30 15:46:38 UTC 2016


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 b7a23b9..4c6de3f 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.6.4.442.g545299f



More information about the cairo mailing list