mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 04:50:11 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ static GLboolean
|
||||||
dri_is_thread_safe(void *loaderPrivate)
|
dri_is_thread_safe(void *loaderPrivate)
|
||||||
{
|
{
|
||||||
struct dri2_egl_surface *dri2_surf = 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
|
#ifdef HAVE_X11_PLATFORM
|
||||||
Display *xdpy = (Display*)display->PlatformDisplay;
|
Display *xdpy = (Display*)display->PlatformDisplay;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue