diff options
author | Thomas Henn <thomas.henn@igd.fraunhofer.de> | 2008-11-26 09:49:32 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-26 09:49:32 -0700 |
commit | 279343059f8ec676afc1713f9d15030ba06f4a07 (patch) | |
tree | f59049de209b1d71974b743ad66ce7cb90e57aba | |
parent | 001b1cbb0dacf76dd09cda56840c30226abd3534 (diff) |
windows: fix _mesa_unreference_framebuffer() to pass ** type.
-rw-r--r-- | src/mesa/drivers/windows/gdi/wmesa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c index 1ddea33e3..42432d606 100644 --- a/src/mesa/drivers/windows/gdi/wmesa.c +++ b/src/mesa/drivers/windows/gdi/wmesa.c @@ -56,11 +56,13 @@ wmesa_free_framebuffer(HDC hdc) prev = pwfb; } if (pwfb) { + struct gl_framebuffer *fb; if (pwfb == FirstFramebuffer) FirstFramebuffer = pwfb->next; else prev->next = pwfb->next; - _mesa_unreference_framebuffer(&pwfb->Base); + fb = &pwfb->Base; + _mesa_unreference_framebuffer(&fb); } } |