[cairo] [PATCH v8 35/71] drm: fixed calls to _cairo_surface_init()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Thu Jun 30 15:46:13 UTC 2016
This function now expects an additional parameter is_vector.
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm-intel-surface.c | 4 +++-
src/drm/cairo-drm-radeon-surface.c | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/drm/cairo-drm-intel-surface.c b/src/drm/cairo-drm-intel-surface.c
index ac540f8..356dc4a 100644
--- a/src/drm/cairo-drm-intel-surface.c
+++ b/src/drm/cairo-drm-intel-surface.c
@@ -279,7 +279,9 @@ intel_surface_init (intel_surface_t *surface,
_cairo_surface_init (&surface->drm.base,
backend,
&device->base,
- _cairo_content_from_format (format));
+ _cairo_content_from_format (format),
+ FALSE);
+
_cairo_drm_surface_init (&surface->drm, format, width, height);
surface->snapshot_cache_entry.hash = 0;
diff --git a/src/drm/cairo-drm-radeon-surface.c b/src/drm/cairo-drm-radeon-surface.c
index 6406e53..3adb0e0 100644
--- a/src/drm/cairo-drm-radeon-surface.c
+++ b/src/drm/cairo-drm-radeon-surface.c
@@ -269,7 +269,8 @@ radeon_surface_init (radeon_surface_t *surface,
_cairo_surface_init (&surface->base.base,
&radeon_surface_backend,
&device->base,
- _cairo_content_from_format (format));
+ _cairo_content_from_format (format),
+ FALSE);
_cairo_drm_surface_init (&surface->base, format, width, height);
}
--
2.6.4.442.g545299f
More information about the cairo
mailing list