stw: Choose a color buffer format that matches the visual.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 6 Apr 2009 22:09:02 +0000 (23:09 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 6 Apr 2009 22:09:02 +0000 (23:09 +0100)
commitb4c0e1f9e16ba61acd781ed6cbe448460e2b3153
treeb4b5d5d80ba162fcfbb9ebb8ebd1f09f0e04aa5e
parentf4d744af24e07103f0f297b485f3dbca1fb7bc3b
stw: Choose a color buffer format that matches the visual.

The massive ifs are ugly, but it's not worth to automate this for just a
handful of formats.

Fixes conform bcolor.c.
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c