Browse Source

intel: Use _mesa_warning() to report GEM warnings

tags/mesa_7_5_1
Brian Paul 16 years ago
parent
commit
d2f56fe687
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/mesa/drivers/dri/intel/intel_screen.c

+ 3
- 3
src/mesa/drivers/dri/intel/intel_screen.c View File

@@ -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) {

Loading…
Cancel
Save