diff options
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r-- | src/mesa/main/framebuffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 09f0994a3c1..5eb45f6e4a3 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -191,7 +191,9 @@ _mesa_free_framebuffer_data(struct gl_framebuffer *fb) _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); } if (att->Texture) { - MESA_REF_TEXOBJ(&att->Texture, NULL); + char s[100]; + sprintf(s, "_mesa_free_framebuffer_data (fb=%d)", fb->Name); + _mesa_reference_texobj(&att->Texture, NULL, s); } ASSERT(!att->Renderbuffer); ASSERT(!att->Texture); |