[cairo] [PATCH 21/43] drm: fixed return value of _device_flush()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Tue Dec 15 11:50:01 PST 2015
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/drm/cairo-drm.c b/src/drm/cairo-drm.c
index 47741a3..6a2a317 100644
--- a/src/drm/cairo-drm.c
+++ b/src/drm/cairo-drm.c
@@ -60,12 +60,12 @@ get_udev_property(struct udev_device *device, const char *name)
return NULL;
}
-static void
+static cairo_status_t
_device_flush (void *abstract_device)
{
cairo_drm_device_t *device = cairo_abstract_device_cast_drm(abstract_device);
- device->device.flush (device);
+ return device->device.flush (device);
}
static void
--
2.6.4.442.g545299f
More information about the cairo
mailing list