mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
windows: fix _mesa_unreference_framebuffer() to pass ** type.
This commit is contained in:
parent
001b1cbb0d
commit
279343059f
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue