From 2cd0991def0e4571bdab33e2891cd37c9bb68ea2 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 11 Aug 2021 10:36:42 -0400 Subject: [PATCH] glx/drisw: Remove some misplaced error checks If the driver doesn't like these attributes it can reject them, it's not libGL's job to verify them here. Part-of: --- src/glx/drisw_glx.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 8c48165..ea5c733 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -540,13 +540,6 @@ drisw_create_context_attribs(struct glx_screen *base, return NULL; } - if (reset != __DRI_CTX_RESET_NO_NOTIFICATION) - return NULL; - - if (release != __DRI_CTX_RELEASE_BEHAVIOR_FLUSH && - release != __DRI_CTX_RELEASE_BEHAVIOR_NONE) - return NULL; - if (shareList) { /* We can't share with an indirect context */ if (!shareList->isDirect) -- 2.7.4