summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/rbadaptors.c
diff options
context:
space:
mode:
authorNian Wu <[email protected]>2007-03-26 17:00:29 +0800
committerNian Wu <[email protected]>2007-03-26 17:00:29 +0800
commitee9bc897f8ea361539c5f422fdecc2326271e673 (patch)
tree42396ed93352516dc1da6cb23c5b82679fb5ce47 /src/mesa/main/rbadaptors.c
parent1b354bb5e4c4524533a8f2c3293df73a403e011a (diff)
parent42aaa548a1020be5d40b3dce9448d8004b1ef947 (diff)
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
Diffstat (limited to 'src/mesa/main/rbadaptors.c')
-rw-r--r--src/mesa/main/rbadaptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/rbadaptors.c b/src/mesa/main/rbadaptors.c
index 60f4948becf..c1ac0606c86 100644
--- a/src/mesa/main/rbadaptors.c
+++ b/src/mesa/main/rbadaptors.c
@@ -45,7 +45,7 @@ Delete_wrapper(struct gl_renderbuffer *rb)
/* Decrement reference count on the buffer we're wrapping and delete
* it if refcount hits zero.
*/
- _mesa_unreference_renderbuffer(&rb->Wrapped);
+ _mesa_reference_renderbuffer(&rb->Wrapped, NULL);
/* delete myself */
_mesa_delete_renderbuffer(rb);