st/mesa: fix geometry corruption by always re-binding vertex arrays
authorMarek Olšák <maraeo@gmail.com>
Thu, 17 Feb 2011 15:17:34 +0000 (16:17 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 18 Feb 2011 15:01:01 +0000 (16:01 +0100)
commitbb46eeade3a3eb604aba5c084d1e21942c2fa2ac
treebb2d5c9caa448c41e2961037a658e6cc70987807
parente0481cac7d57757d75a39763a1dd36b915979bb4
st/mesa: fix geometry corruption by always re-binding vertex arrays

This is a temporary workaround. It fixes sauerbrauten with shaders enabled.

I guess we might be changing vertex attribs somewhere and not updating
the appropriate dirty flags, therefore we can't rely on them for now.
Or maybe we need to make this state dependent on some other flags too.

More info:
https://bugs.freedesktop.org/show_bug.cgi?id=34378
src/mesa/state_tracker/st_draw.c