gallium/svga: Fix unnecessary swtnl fallbacks
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 18 Feb 2011 10:36:34 +0000 (11:36 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 18 Feb 2011 12:25:32 +0000 (13:25 +0100)
commit8cbd3b5ef11e3e77022f98f3151dd39e0eec188c
tree16ab02bf44615dff3c3e5ec68d42d7a37d2a9217
parentdfa59284049e735cb55e1b39f32cfcfb71ebbff3
gallium/svga: Fix unnecessary swtnl fallbacks

When we drop the in_swtnl_draw flag, we must force a rerun of
update_need_swtnl to reset the need_swtnl flag to its correct value outside
of a swtnl vbo draw.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/drivers/svga/svga_swtnl_draw.c