Skip to content
Commit a086fb90 authored by Rob Herring's avatar Rob Herring Committed by Emil Velikov
Browse files

egl/android: Fix build break with dri2_initialize_android _EGLDisplay parameter



Commit 2f421651 ("egl: let each platform decided how to handle
LIBGL_ALWAYS_SOFTWARE") broke the build due to copy-n-paste of misnamed
function parameter.:

src/egl/drivers/dri2/platform_android.c:1183:8: error: use of undeclared identifier 'disp'

Rather than just fixing 'disp', rename the function parameter 'dpy' to
'disp' to align with the other EGL platforms' implementations.

Fixes: 2f421651 ("egl: let each platform decided how to handle LIBGL_ALWAYS_SOFTWARE")
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
Acked-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
(cherry picked from commit aa187fe7)
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/egl/drivers/dri2/platform_android.c
parent f8f202bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment