summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxvb.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-05-10 02:59:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-05-10 02:59:04 +0000
commitf50bbbf8556483a8def9862c0d05382e43177eb0 (patch)
tree3c00a19baa4830d94c809a91d3f900d7703df823 /src/mesa/drivers/glide/fxvb.c
parent8acb7e9ea211423e196dac4dfde312ffeb78619a (diff)
check hardware type and use SETUP_SNAP if needed
Diffstat (limited to 'src/mesa/drivers/glide/fxvb.c')
-rw-r--r--src/mesa/drivers/glide/fxvb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxvb.c b/src/mesa/drivers/glide/fxvb.c
index 90fe9f2724..e38d3c3cdd 100644
--- a/src/mesa/drivers/glide/fxvb.c
+++ b/src/mesa/drivers/glide/fxvb.c
@@ -298,10 +298,8 @@ fx_validate_BuildProjVerts(GLcontext * ctx, GLuint start, GLuint count,
else {
GLuint setupindex = SETUP_XYZW;
-#if 0
- if (is_voodoo_graphics)
- setupindex |= SETUP_SNAP;
-#endif
+ if (fxMesa->snapVertices)
+ setupindex |= SETUP_SNAP;
fxMesa->tmu_source[0] = 0;
fxMesa->tmu_source[1] = 1;