glx: change #if guard around dri_common.h to stop missing 'driDestroyConfigs' symbol on MacOS builds.

Reviewed-By: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32568>
This commit is contained in:
duncan.hopkins 2024-11-26 10:18:28 +00:00 committed by Marge Bot
parent c8f6d8154f
commit e89eba0796

View file

@ -28,7 +28,7 @@
#include "glxextensions.h"
#include "util/u_debug.h"
#ifndef GLX_USE_APPLEGL
#if defined(GLX_DIRECT_RENDERING) && (!defined(GLX_USE_APPLEGL) || defined(GLX_USE_APPLE))
#include "dri_common.h"
#endif