st/wgl: add debug code to check that pixel format initialization worked
authorBrian Paul <brianp@vmware.com>
Fri, 21 Mar 2014 17:06:41 +0000 (11:06 -0600)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 30 May 2014 17:52:39 +0000 (18:52 +0100)
commitfa55c2402c11aaccfc30b198b22b136142574a9c
tree078633fc43a74546fab4a2e124c41651b52a3aeb
parente4a5165562ec21c86dcc8069ef424485aa6f2ac3
st/wgl: add debug code to check that pixel format initialization worked

If the assertion fails, it means something is really broken.  Before,
if this happened we reverted to the GDI renderer without any warning.

Reviewed-by: Matthew McClure <mcclurem@vmware.com>
src/gallium/state_trackers/wgl/stw_pixelformat.c