diff options
author | Brian Paul <brianp@vmware.com> | 2009-07-27 14:35:18 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-07-27 14:35:18 -0600 |
commit | d2f56fe687afb2c259338542971e432dd448671b (patch) | |
tree | 63794a0ac6d5f1214fe77334f32c820c46679601 /src | |
parent | 09ef339b691036a5db6258aed0d9b91ee9c5b1b0 (diff) |
intel: Use _mesa_warning() to report GEM warnings
Diffstat (limited to 'src')
-rw-r--r-- | 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 0f278b3acd..2c6e2640b0 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) { |