diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-06-22 12:47:04 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-06-22 12:47:04 -0600 |
commit | f79c225d9e5adee6287a9bba35f014c3fe00d3f9 (patch) | |
tree | 7f8641c4118a87aabeb76f75db5d45a53e522f2d /src/mesa/pipe/softpipe/sp_quad_alpha_test.c | |
parent | 493ed9fc11a2bf272a2c1e9e5a072e4f02b46554 (diff) |
Assorted token renaming/removal, minor state changes, etc.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_alpha_test.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad_alpha_test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_alpha_test.c b/src/mesa/pipe/softpipe/sp_quad_alpha_test.c index f7cebca6ea..0059b3abf4 100644 --- a/src/mesa/pipe/softpipe/sp_quad_alpha_test.c +++ b/src/mesa/pipe/softpipe/sp_quad_alpha_test.c @@ -16,16 +16,8 @@ alpha_test_quad(struct quad_stage *qs, struct quad_header *quad) { struct softpipe_context *softpipe = qs->softpipe; GLuint j; - struct softpipe_surface *sps = softpipe_surface(softpipe->framebuffer.zbuf); const GLfloat ref = softpipe->alpha_test.ref; -#if 0 - assert(sps); /* shouldn't get here if there's no zbuffer */ -#else - if (!sps) - return; -#endif - switch (softpipe->alpha_test.func) { case PIPE_FUNC_NEVER: quad->mask = 0x0; |