mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
glx: silence more implicit-load zink errors
Acked-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28139>
This commit is contained in:
parent
e3ea55fef2
commit
4cc975c6e9
1 changed files with 3 additions and 2 deletions
|
|
@ -980,7 +980,8 @@ driswCreateScreenDriver(int screen, struct glx_display *priv,
|
|||
extensions,
|
||||
&driver_configs, implicit, psc);
|
||||
if (psc->driScreen == NULL) {
|
||||
ErrorMessageF("glx: failed to create drisw screen\n");
|
||||
if (!pdpyp->zink || !implicit)
|
||||
ErrorMessageF("glx: failed to create drisw screen\n");
|
||||
goto handle_error;
|
||||
}
|
||||
|
||||
|
|
@ -1053,7 +1054,7 @@ driswCreateScreenDriver(int screen, struct glx_display *priv,
|
|||
glx_screen_cleanup(&psc->base);
|
||||
free(psc);
|
||||
|
||||
if (pdpyp->zink == TRY_ZINK_YES)
|
||||
if (pdpyp->zink == TRY_ZINK_YES && !implicit)
|
||||
CriticalErrorMessageF("failed to load driver: %s\n", driver);
|
||||
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue