gallium/dri: Guard DRI driver global variables on MacOS if Zink is enabled.
Protect the DRI galliumdrm_driver_api and galliumdrm_driver_extensions variables from __APPLE__ builds, as DRI2 cannot be enabled. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11129>
This commit is contained in:
parent
18e8ec5f37
commit
3102892fb8
|
@ -118,7 +118,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(sun4i_drm)
|
|||
DEFINE_LOADER_DRM_ENTRYPOINT(lima)
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_ZINK)
|
||||
#if defined(GALLIUM_ZINK) && !defined(__APPLE__)
|
||||
DEFINE_LOADER_DRM_ENTRYPOINT(zink);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue