st/glx: Return a better format in choose_depth_stencil_format.
authorChia-I Wu <olv@lunarg.com>
Fri, 12 Mar 2010 03:20:27 +0000 (11:20 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 12 Mar 2010 03:20:57 +0000 (11:20 +0800)
commit3475e88442c16fb2b50b903fe246b3ebe49da226
treef0ea9f3f51f0380eee5424ef2e5d1958dd7e889b
parent72ed7eb15a12ad88647dddefde5999ddd308b9e4
st/glx: Return a better format in choose_depth_stencil_format.

Return a better format instead of an exact format in
choose_depth_stencil_format.  Also, prefer formats with stencil bits.
src/gallium/state_trackers/glx/xlib/xm_api.c