projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf25ef9
)
softpipe: Use p_atomic_read, not atomic_read.
author
Michal Krol
<michal@vmware.com>
Mon, 16 Mar 2009 11:22:50 +0000
(12:22 +0100)
committer
Michal Krol
<michal@vmware.com>
Mon, 16 Mar 2009 11:22:50 +0000
(12:22 +0100)
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 ade18b2333235c814bf3641e51d8eec4feb2e613..48b2c22af45bb0c1585444d74d47f7c80fbef63f 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_texture.c
+++ b/
src/gallium/drivers/softpipe/sp_texture.c
@@
-138,7
+138,7
@@
softpipe_texture_create(struct pipe_screen *screen,
goto fail;
}
- assert(atomic_read(&spt->base.reference.count) == 1);
+ assert(
p_
atomic_read(&spt->base.reference.count) == 1);
return &spt->base;
fail: