st/dri: don't expose visuals we'll have trouble supporting
authorZack Rusin <zackr@vmware.com>
Thu, 11 Feb 2010 03:15:24 +0000 (22:15 -0500)
committerZack Rusin <zack@kde.org>
Fri, 12 Feb 2010 21:00:45 +0000 (16:00 -0500)
commitfd40b9ff32ac0ed02928a2b5516c8d678431806f
tree5c66506f61ce747ebe421aa038d9062b1b56aba5
parent59b4146a5dbeb108b53fc9c4132095e264ba04be
st/dri: don't expose visuals we'll have trouble supporting

without getBuffersWithFormat some visuals will just cause headaches (crashes),
so if we're running on an older system simply don't advertise them.
src/gallium/state_trackers/dri/dri_screen.c