Bladeren bron

softpipe: simplify an assertion

tags/mesa_20090313
Brian Paul 16 jaren geleden
bovenliggende
commit
2473ded886
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      src/gallium/drivers/softpipe/sp_texture.c

+ 1
- 1
src/gallium/drivers/softpipe/sp_texture.c Bestand weergeven

@@ -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);

Laden…
Annuleren
Opslaan