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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12456>
This commit is contained in:
Adam Jackson 2021-08-11 10:36:42 -04:00 committed by Marge Bot
parent 0d42033b26
commit 2cd0991def
1 changed files with 0 additions and 7 deletions

View File

@ -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)