diff options
author | Brian Paul <[email protected]> | 2009-02-07 13:03:24 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-07 13:03:24 -0700 |
commit | 2473ded88684aed33de5ba6494ac4ce8cf7e2226 (patch) | |
tree | 24c4c10ea5749f9e41c2d878b09be82e94e3076e /src/gallium | |
parent | b59117a697ac168da9dacb922d491449fe591264 (diff) |
softpipe: simplify an assertion
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index 7af83981934..3eed0d0d293 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -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); |