projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ef339
)
intel: Use _mesa_warning() to report GEM warnings
author
Brian Paul
<brianp@vmware.com>
Mon, 27 Jul 2009 20:35:18 +0000
(14:35 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 27 Jul 2009 20:35:18 +0000
(14:35 -0600)
src/mesa/drivers/dri/intel/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index 0f278b3acddf8daa26d6252fdff6eca1e9560a12..2c6e2640b08f6a09b6a92888f7c65de1c366bd43 100644
(file)
--- 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) {