[cairo] [PATCH 19/36] drm/intel: fixed call to surface->drm.base.backend->flush() operation
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Sat Dec 12 10:51:47 PST 2015
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm-intel-surface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/drm/cairo-drm-intel-surface.c b/src/drm/cairo-drm-intel-surface.c
index 7f58b66..5ae49d0 100644
--- a/src/drm/cairo-drm-intel-surface.c
+++ b/src/drm/cairo-drm-intel-surface.c
@@ -89,7 +89,7 @@ intel_surface_acquire_source_image (void *abstract_surface,
goto DONE;
if (surface->drm.base.backend->flush != NULL) {
- status = surface->drm.base.backend->flush (surface);
+ status = surface->drm.base.backend->flush (surface, 0);
if (unlikely (status))
return status;
}
@@ -134,7 +134,7 @@ intel_surface_map_to_image (void *abstract_surface)
void *ptr;
if (surface->drm.base.backend->flush != NULL) {
- status = surface->drm.base.backend->flush (surface);
+ status = surface->drm.base.backend->flush (surface, 0);
if (unlikely (status))
return _cairo_surface_create_in_error (status);
}
--
2.6.4.442.g545299f
More information about the cairo
mailing list