[cairo-commit] src/drm
Bryce Harrington
bryce at kemper.freedesktop.org
Tue Apr 25 01:36:02 UTC 2017
src/drm/cairo-drm-intel-surface.c | 4 +++-
src/drm/cairo-drm-radeon-surface.c | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 8455d88b1276c25cbca0b7218171d8825efad4dc
Author: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
Date: Mon Apr 17 18:57:11 2017 +0200
drm: fixed calls to _cairo_surface_init()
This function now expects an additional parameter is_vector.
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
diff --git a/src/drm/cairo-drm-intel-surface.c b/src/drm/cairo-drm-intel-surface.c
index 12357202..e295b624 100644
--- a/src/drm/cairo-drm-intel-surface.c
+++ b/src/drm/cairo-drm-intel-surface.c
@@ -296,7 +296,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 528aab77..a0a97a05 100644
--- a/src/drm/cairo-drm-radeon-surface.c
+++ b/src/drm/cairo-drm-radeon-surface.c
@@ -304,7 +304,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);
}
More information about the cairo-commit
mailing list