i965: send all warnings through _mesa_warning()
authorRobert Ellison <papillo@vmware.com>
Thu, 14 May 2009 02:38:33 +0000 (20:38 -0600)
committerRobert Ellison <papillo@vmware.com>
Thu, 14 May 2009 16:36:33 +0000 (10:36 -0600)
commitbc3270e99f5c39544aaf831742db14796ab83a6a
treea6907a0b8f67aee57869bec76977901343f34ce7
parentd3912e301fd707738b0952cd11e19f34b87765b8
i965: send all warnings through _mesa_warning()

One warning message:
   drm_i915_getparam: -22

was still being sent to fprintf().  This causes all Piglit tests to fail,
even with MESA_DEBUG=0.

Using _mesa_warning() to emit the message allows the general Mesa controls
for messages like this to be applied.
src/mesa/drivers/dri/intel/intel_screen.c