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:
parent
0d42033b26
commit
2cd0991def
|
@ -540,13 +540,6 @@ drisw_create_context_attribs(struct glx_screen *base,
|
||||||
return NULL;
|
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) {
|
if (shareList) {
|
||||||
/* We can't share with an indirect context */
|
/* We can't share with an indirect context */
|
||||||
if (!shareList->isDirect)
|
if (!shareList->isDirect)
|
||||||
|
|
Loading…
Reference in New Issue