Explorar el Código

clean-ups

tags/mesa_20090313
Brian hace 18 años
padre
commit
363e602042
Se han modificado 1 ficheros con 2 adiciones y 7 borrados
  1. 2
    7
      src/mesa/pipe/softpipe/sp_quad_depth_test.c

+ 2
- 7
src/mesa/pipe/softpipe/sp_quad_depth_test.c Ver fichero

@@ -44,14 +44,9 @@ depth_test_quad(struct quad_stage *qs, struct quad_header *quad)
GLfloat zzzz[QUAD_SIZE]; /**< Z for four pixels in quad */
GLuint zmask = 0;

#if 0
assert(sps); /* shouldn't get here if there's no zbuffer */
#else
if (!sps)
return;
#endif

/* XXX get zquad from zbuffer */
/* get zquad from zbuffer */
sps->read_quad_z(sps, quad->x0, quad->y0, zzzz);

switch (softpipe->depth_test.func) {
@@ -94,7 +89,7 @@ depth_test_quad(struct quad_stage *qs, struct quad_header *quad)
}
}

/* XXX write updated zquad to zbuffer */
/* write updated zquad to zbuffer */
sps->write_quad_z(sps, quad->x0, quad->y0, zzzz);
}


Cargando…
Cancelar
Guardar