summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texrender.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-04-02 09:56:28 -0600
committerBrian <[email protected]>2007-04-02 09:57:27 -0600
commitdccd9c4f4d3eb4fd31002eb13e32ea78a5d0905c (patch)
treed41b240d5fba09759eb9646a70ccceaca72cee5f /src/mesa/main/texrender.c
parent3fe47d5c57dfe20a3336df3b9cb2e37f866fe603 (diff)
use _mesa_reference_renderbuffer() in a few more places
Diffstat (limited to 'src/mesa/main/texrender.c')
-rw-r--r--src/mesa/main/texrender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c
index 32e7b575f00..f7385845124 100644
--- a/src/mesa/main/texrender.c
+++ b/src/mesa/main/texrender.c
@@ -325,7 +325,7 @@ wrap_texture(GLcontext *ctx, struct gl_renderbuffer_attachment *att)
trb->Base.PutMonoValues = texture_put_mono_values;
/* update attachment point */
- att->Renderbuffer = &(trb->Base);
+ _mesa_reference_renderbuffer(&att->Renderbuffer, &(trb->Base));
}