mirror of https://gitlab.freedesktop.org/mesa/mesa
egl: replace MAYBE_UNUSED with UNUSED
MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
ea38565011
commit
14be04fb2b
|
@ -115,7 +115,7 @@ static GLboolean
|
|||
dri_is_thread_safe(void *loaderPrivate)
|
||||
{
|
||||
struct dri2_egl_surface *dri2_surf = loaderPrivate;
|
||||
MAYBE_UNUSED _EGLDisplay *display = dri2_surf->base.Resource.Display;
|
||||
UNUSED _EGLDisplay *display = dri2_surf->base.Resource.Display;
|
||||
|
||||
#ifdef HAVE_X11_PLATFORM
|
||||
Display *xdpy = (Display*)display->PlatformDisplay;
|
||||
|
|
Loading…
Reference in New Issue