st/egl: Assorted fixes for dri2_display_get_configs.
authorChia-I Wu <olv@lunarg.com>
Wed, 22 Dec 2010 07:13:52 +0000 (15:13 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 22 Dec 2010 08:05:27 +0000 (16:05 +0800)
commit445cb9e53b1a98eb8af6ec499912a52b03fb1ce3
tree0a5af9597832b857bf9d97f8e921837351cdbdae
parent341d048e4566af2f5909b2beeb9cd2b3d9a44e34
st/egl: Assorted fixes for dri2_display_get_configs.

Set window_bit only when the visual id is greater than zero.  Correct
visual types.  Skip slow configs as they are not relevant.  Finally, do
not return duplicated configs.
src/gallium/state_trackers/egl/x11/native_dri2.c