mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
st/egl: Downgrade warning to debug when we can't create a drm screen
We try to load a DRI driver if this fails so don't confuse users.
This commit is contained in:
parent
684c66bb8b
commit
e28ecdee03
2 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ drm_display_init_screen(struct native_display *ndpy)
|
|||
drmFreeVersion(version);
|
||||
|
||||
if (!drmdpy->base.screen) {
|
||||
_eglLog(_EGL_WARNING, "failed to create DRM screen");
|
||||
_eglLog(_EGL_DEBUG, "failed to create DRM screen");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -782,7 +782,7 @@ dri2_display_init_screen(struct native_display *ndpy)
|
|||
dri2dpy->event_handler->new_drm_screen(&dri2dpy->base,
|
||||
dri2dpy->dri_driver, fd);
|
||||
if (!dri2dpy->base.screen) {
|
||||
_eglLog(_EGL_WARNING, "failed to create DRM screen");
|
||||
_eglLog(_EGL_DEBUG, "failed to create DRM screen");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue