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

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


Something has gone wrong if we have to revert to indirect rendering,
(such as a driver failing to load for some reason). The user really
should be made aware of this, (and instructed to set LIBGL_DEBUG
for more details).
---
 src/glx/drisw_glx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 833ea7d..f8d050d 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -702,7 +702,7 @@ driswCreateScreen(int screen, struct glx_display *priv)
    glx_screen_cleanup(&psc->base);
    Xfree(psc);
 
-   ErrorMessageF("reverting to indirect rendering\n");
+   CriticalErrorMessageF("reverting to indirect rendering\n");
 
    return NULL;
 }
-- 
1.7.8.3



More information about the mesa-dev mailing list