include/dri_interface.h: restore define mistakenly removed in !25587

This file is a public API used by Xserver; removing something from it
means Xserver can't build anymore, and even if we fix Xserver, old
versions are still around and we want to keep them working to allow for
bisecting issues.

Fixes: 7301914755 ("dri: Remove __driDriverExtensions leftovers")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9976
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25692>
This commit is contained in:
Eric Engestrom
2023-10-12 20:02:36 +01:00
committed by Marge Bot
parent 3f973a4f45
commit e41bc40571

View File

@@ -678,6 +678,12 @@ struct __DRIuseInvalidateExtensionRec {
__DRIextension base;
};
/**
* Dead, do not use; kept only to allow old Xserver to compile since
* this file is a public API.
*/
#define __DRI_DRIVER_EXTENSIONS "__driDriverExtensions"
/**
* This symbol replaces the __DRI_DRIVER_EXTENSIONS symbol, and will be
* suffixed by "_drivername", allowing multiple drivers to be built into one