summaryrefslogtreecommitdiffstats
path: root/src/gbm
diff options
context:
space:
mode:
authorcoypu <[email protected]>2019-04-07 23:31:37 +0300
committerKristian H. Kristensen <[email protected]>2019-04-26 12:04:26 -0700
commit976004d0e70757a0b57707e419677acb71c054c5 (patch)
tree47f874eb66dbcf520e772e649ea9b6ed8e7e2e6a /src/gbm
parent7a7f182dac0b8f29f83a2eca02d29f10e8b23244 (diff)
gbm: don't return void
Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/backends/dri/gbm_dri.c2
1 files changed, 1 insertions, 1 deletions
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);
}