wgl: Disable CRT message boxes when Windows system error messages boxes are disabled.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 3 Jun 2014 17:08:34 +0000 (18:08 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 4 Jun 2014 09:25:08 +0000 (10:25 +0100)
commit122e23249583d233e8a988abe95dcb5d76fa6b98
tree7de365da329a1a35fad5e05fc7f1249a89f7cd4f
parent7e0dd80f11eae748be4c4e13916c110e4a0ff45d
wgl: Disable CRT message boxes when Windows system error messages boxes are disabled.

At least on MSVC we statically link against the CRT, so we must disable
the CRT message boxes if we want unattended testing.

The messages are convenient when running manually, so let them be if the
system error message boxes are not disabled.
src/gallium/auxiliary/util/u_debug.c
src/gallium/auxiliary/util/u_debug.h
src/gallium/state_trackers/wgl/stw_device.c