Module: Mesa
Branch: mesa_7_5_branch
Commit: d2f56fe687afb2c259338542971e432dd448671b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f56fe687afb2c259338542971e432dd448671b

Author: Brian Paul <[email protected]>
Date:   Mon Jul 27 14:35:18 2009 -0600

intel: Use _mesa_warning() to report GEM warnings

---

 src/mesa/drivers/dri/intel/intel_screen.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_screen.c 
b/src/mesa/drivers/dri/intel/intel_screen.c
index 0f278b3..2c6e264 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -617,10 +617,10 @@ intel_init_bufmgr(intelScreenPrivate *intelScreen)
    /* Otherwise, use the classic buffer manager. */
    if (intelScreen->bufmgr == NULL) {
       if (gem_disable) {
-        fprintf(stderr, "GEM disabled.  Using classic.\n");
+        _mesa_warning(NULL, "GEM disabled.  Using classic.");
       } else {
-        fprintf(stderr, "Failed to initialize GEM.  "
-                "Falling back to classic.\n");
+        _mesa_warning(NULL,
+                       "Failed to initialize GEM.  Falling back to classic.");
       }
 
       if (intelScreen->tex.size == 0) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to