mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 12:18:01 +02:00
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@gr13.net>
This commit is contained in:
parent
f7e686c92a
commit
8455d88b12
2 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue