projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59117a
)
softpipe: simplify an assertion
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Feb 2009 20:03:24 +0000
(13:03 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 7 Feb 2009 20:03:24 +0000
(13:03 -0700)
src/gallium/drivers/softpipe/sp_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_texture.c
b/src/gallium/drivers/softpipe/sp_texture.c
index 7af839819348f9c7bbb9d97cb3c18e9bcb2501c3..3eed0d0d2934d024574b88dd7c922a26b7b03f32 100644
(file)
--- 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);