Explorar el Código

softpipe: simplify an assertion

tags/mesa_20090313
Brian Paul hace 16 años
padre
commit
2473ded886
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/gallium/drivers/softpipe/sp_texture.c

+ 1
- 1
src/gallium/drivers/softpipe/sp_texture.c Ver fichero

@@ -270,7 +270,7 @@ softpipe_tex_surface_release(struct pipe_screen *screen,
* needed post-processing to put them into hardware layout, this is
* where it would happen. For softpipe, nothing to do.
*/
assert ((*s)->texture);
assert(surf->texture);
if (--surf->refcount == 0) {
pipe_texture_reference(&surf->texture, NULL);
FREE(surf);

Cargando…
Cancelar
Guardar