From f50bbbf8556483a8def9862c0d05382e43177eb0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 May 2001 02:59:04 +0000 Subject: check hardware type and use SETUP_SNAP if needed --- src/mesa/drivers/glide/fxvb.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/glide/fxvb.c') 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; -- cgit v1.2.3