diff options
author | Michal Krol <michal@vmware.com> | 2009-03-16 12:22:50 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-03-16 12:22:50 +0100 |
commit | 47c18b35b0346e6b456dae4a883fcc743811ef8e (patch) | |
tree | bccec79fc902fe1574befcfa33a84ed90cedc8ef | |
parent | cf25ef9072f5290d228a381727c4ff921b0c60d6 (diff) |
softpipe: Use p_atomic_read, not atomic_read.
-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 ade18b23332..48b2c22af45 100644 --- 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: |