From: Brian Paul Date: Mon, 27 Jul 2009 20:35:18 +0000 (-0600) Subject: intel: Use _mesa_warning() to report GEM warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2f56fe687afb2c259338542971e432dd448671b;p=mesa.git intel: Use _mesa_warning() to report GEM warnings --- diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 0f278b3acdd..2c6e2640b08 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) {