st/glx: improved depth/stencil format selection code
authorBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 01:55:28 +0000 (18:55 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 01:57:18 +0000 (18:57 -0700)
commita84575cdc0c8193b2c7858734e2ec6b1ec4511b2
tree19ca537235cf34267fa84ed912b35973ed3622c9
parentf7830dc3916b355452f656dba955804fd7535544
st/glx: improved depth/stencil format selection code

Actually ask the gallium screen what Z/stencil format is supported.
This will let us remove some hacks in the llvmpipe driver.
src/gallium/state_trackers/glx/xlib/glx_api.c
src/gallium/state_trackers/glx/xlib/xm_api.c
src/gallium/state_trackers/glx/xlib/xm_api.h