Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coords
authorEric Anholt <anholt@FreeBSD.org>
Sun, 26 Jun 2005 21:57:23 +0000 (21:57 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sun, 26 Jun 2005 21:57:23 +0000 (21:57 +0000)
commit3f9839a52b6152d349b5c6279cd7a3d3106b3999
tree4099fb419452b1c811620ff4b03d891970be1855
parenta4eb693b5fa74df9a43042fe763814a01ddeb42d
Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coords
during fallbacks.  In one case, _swsetup_Wakeup had just been called, covering
the need there, and in the other case, we can simply exit the entire
radeonChooseVertexState function, knowing that it will be called again once we
leave the fallback.

Bugzilla #: 2516
Submitted by: sroland
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/radeon/radeon_swtcl.c