From 976004d0e70757a0b57707e419677acb71c054c5 Mon Sep 17 00:00:00 2001 From: coypu Date: Sun, 7 Apr 2019 23:31:37 +0300 Subject: [PATCH] gbm: don't return void Reviewed-by: Lionel Landwerlin Reviewed-by: Eric Engestrom --- src/gbm/backends/dri/gbm_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 37f7d1a97c0..99396f658f2 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -174,7 +174,7 @@ swrast_put_image(__DRIdrawable *driDrawable, char *data, void *loaderPrivate) { - return swrast_put_image2(driDrawable, op, x, y, width, height, + swrast_put_image2(driDrawable, op, x, y, width, height, width * 4, data, loaderPrivate); } -- 2.30.2