summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 5eb45f6e4a3..7a246f1aec7 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -165,6 +165,10 @@ void
_mesa_destroy_framebuffer(struct gl_framebuffer *fb)
{
if (fb) {
+#ifdef DEBUG
+ printf("%lu: MESA DESTROY FRAMEBUFFER %u\n",
+ _glthread_GetID(), fb->Name);
+#endif
_mesa_free_framebuffer_data(fb);
_mesa_free(fb);
}