From 60fea77f06f26b1b240aa71eee8ffd5e2069fc7c Mon Sep 17 00:00:00 2001 From: Tautvis Date: Mon, 29 Jun 2026 23:10:43 +0300 Subject: [PATCH] include: glx_extint.h add comment for xorgGlxCreateVendor Add warning, that xorgGlxCreateVendor need to be called once Signed-off-by: Tautvis --- include/glx_extinit.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/glx_extinit.h b/include/glx_extinit.h index 42895e1dcd..20737a18a0 100644 --- a/include/glx_extinit.h +++ b/include/glx_extinit.h @@ -42,6 +42,11 @@ struct __GLXprovider { extern __GLXprovider __glXDRISWRastProvider; void GlxPushProvider(__GLXprovider * provider); + +/** + * @brief xorgGlxCreateVendor adds default glx vendor callback + * @warning this function need to be called once, because it installs `catch-all` style which always succeed + */ void xorgGlxCreateVendor(void); #else /* GLXEXT */