[Mesa-dev] [PATCH 4/4] dri: Make "reverting to software direct rendering" a critical error.

Carl Worth cworth at cworth.org
Fri Feb 3 17:14:22 PST 2012


Something has gone wrong if we have to revert to software rendering.
The user really should be made aware of this, (and instructed to set
LIBGL_DEBUG for more details).
---
 src/glx/dri_glx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index 0cd7cca..213ef47 100644
--- a/src/glx/dri_glx.c
+++ b/src/glx/dri_glx.c
@@ -503,7 +503,7 @@ CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc,
 
    XF86DRICloseConnection(dpy, scrn);
 
-   ErrorMessageF("reverting to software direct rendering\n");
+   CriticalErrorMessageF("reverting to software direct rendering\n");
 
    return NULL;
 }
-- 
1.7.8.3



More information about the mesa-dev mailing list