Skip to content

egl/android: HAVE_DRM_GRALLOC path fixes

maurossi requested to merge issor.oruam/mesa:android_drm_gralloc_w36 into master

Fixes the following building errors:

external/mesa/src/egl/drivers/dri2/platform_android.c:1001:9: error: use of undeclared identifier 'dri2_img' dri2_img); ^ external/mesa/src/egl/drivers/dri2/platform_android.c:1059:17: error: incompatible pointer types assigning to '__DRIimage *' (aka 'struct __DRIimageRec *') from '_EGLImage *' (aka 'struct _egl_image *') [-Werror,-Wincompatible-pointer-types] dri_image = droid_create_image_from_name(disp, buf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.

Fixes: 5c8b67ed ("egl/android: Simplify droid_create_image_from_name() path") Signed-off-by: Mauro Rossi issor.oruam@gmail.com

Merge request reports