gbm: don't return void
authorcoypu <coypu@sdf.org>
Sun, 7 Apr 2019 20:31:37 +0000 (23:31 +0300)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 26 Apr 2019 19:04:26 +0000 (12:04 -0700)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/gbm/backends/dri/gbm_dri.c

index 37f7d1a..99396f6 100644 (file)
@@ -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);
 }