egl/android: Move get_format under HAVE_DRM_GRALLOC guard where it's used
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 22 May 2020 21:55:29 +0000 (14:55 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Tue, 26 May 2020 19:46:18 +0000 (12:46 -0700)
commit09efdccf4a83c62e632020e8a425eba67de8dc43
tree70443f5e68be00806fba237270a0c0c51c7856c5
parentc26317ebd6c42fcd70a63c2a95d04f11f3c15bd5
egl/android: Move get_format under HAVE_DRM_GRALLOC guard where it's used

src/egl/drivers/dri2/platform_android.c:159:12: warning: unused
function 'get_format' [-Wunused-function]

Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5174>
src/egl/drivers/dri2/platform_android.c