glx: Remove redundant #ifndef GLX_USE_APPLEGL in glx/glxext.c
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 22 Sep 2022 09:19:49 +0000 (17:19 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 17:06:10 +0000 (17:06 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18749>

src/glx/glxext.c

index e1aa475..884611b 100644 (file)
@@ -934,10 +934,8 @@ __glXInitialize(Display * dpy)
 
    dpyPriv->zombieGLXDrawable = _mesa_pointer_set_create(NULL);
 
-#ifndef GLX_USE_APPLEGL
    /* Set the logger before the *CreateDisplay functions. */
    loader_set_logger(glx_message);
-#endif
 
    /*
     ** Initialize the direct rendering per display data and functions.