summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-03-23 18:03:13 +0100
committerMichel Dänzer <[email protected]>2009-03-23 18:03:13 +0100
commite9d156e9e4f92ae1ce70bd563c251b34d238c4bc (patch)
tree564c4283ca531a0cb1f21b5439237d0d07641f33 /src/mesa/state_tracker/st_texture.c
parentda96767c8971e792285e3190c708438d65802379 (diff)
gallium: Remove remnants of reference counting internals outside of p_refcnt.h.
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
-rw-r--r--src/mesa/state_tracker/st_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c
index 6f274d6d69b..3f90ad502c2 100644
--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -107,7 +107,7 @@ st_texture_create(struct st_context *st,
newtex = screen->texture_create(screen, &pt);
- assert(!newtex || p_atomic_read(&newtex->reference.count) == 1);
+ assert(!newtex || pipe_is_referenced(&newtex->reference));
return newtex;
}