summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2022-11-29 12:39:00 -0800
committerMarge Bot <emma+marge@anholt.net>2022-12-05 19:26:41 +0000
commita42feab5ae8e16fdf0d9c1d33247c6c372e3646f (patch)
treeb669ba430b849a11afbae276a74a750c5f5b7d58 /include
parent895ec843d33e48e148cdc978f08dc42a55b08426 (diff)
downloadmesa-a42feab5ae8e16fdf0d9c1d33247c6c372e3646f.tar.gz
egl+glx: Always support no_error contexts.
Since we know we're loading this Mesa build, we know that no_error is always supported (the renderer query always returned true). Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
Diffstat (limited to 'include')
-rw-r--r--include/GL/internal/dri_interface.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index fa0f7432342..8c64c99562e 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -1847,8 +1847,8 @@ struct __DRIrobustnessExtensionRec {
* Existence of this extension means the driver can accept the
* __DRI_CTX_FLAG_NO_ERROR flag.
*
- * This extension is deprecated, and modern loaders will not use it. Please
- * use __DRI2_RENDERER_HAS_NO_ERROR_CONTEXT instead.
+ * This extension is deprecated, and modern Mesa knows that it's always
+ * supported.
*
* Not used by the X server.
*/
@@ -1932,7 +1932,6 @@ typedef struct __DRIconfigOptionsExtensionRec {
#define __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB 0x000c
#define __DRI2_RENDERER_PREFER_BACK_BUFFER_REUSE 0x000f
-#define __DRI2_RENDERER_HAS_NO_ERROR_CONTEXT 0x0010
typedef struct __DRI2rendererQueryExtensionRec __DRI2rendererQueryExtension;
struct __DRI2rendererQueryExtensionRec {