st/dri: Always try to set up R5G6B5 configs.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 12 Mar 2010 17:24:34 +0000 (18:24 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Fri, 12 Mar 2010 17:52:07 +0000 (18:52 +0100)
commit51a51899d0e7eab93468f51296c196b2f3978332
tree9fb80a6f4a8a4c11a82dd789a94d9d5e14b1c85c
parent4b598ce226fcefbefb0243c418cc759c0fb91d79
st/dri: Always try to set up R5G6B5 configs.

Allows compiz to work in depth 16.

The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth
buffers, for colour buffers the only requirement is that the format matches
the drawable depth, which we can't check here.

(cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)
src/gallium/state_trackers/dri/dri_screen.c