summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-07 11:32:18 -0700
committerBrian Paul <brianp@vmware.com>2009-03-07 11:32:18 -0700
commit0f04a1d3f8989b0a391e6dad80abf06ce151d1f1 (patch)
tree51ec7f3666cb8f97d243c5de3a8654d5c7c976a4 /src/mesa/drivers/windows
parentb125af1d2587d8e69218010ebba0b748467158a9 (diff)
downloadmesa-0f04a1d3f8989b0a391e6dad80abf06ce151d1f1.tar.gz
mesa: remove last of _mesa_unreference_framebuffer() calls
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r--src/mesa/drivers/windows/gdi/mesa.def2
-rw-r--r--src/mesa/drivers/windows/gdi/wmesa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/gdi/mesa.def b/src/mesa/drivers/windows/gdi/mesa.def
index b386e34aadf..ede43ef4c0f 100644
--- a/src/mesa/drivers/windows/gdi/mesa.def
+++ b/src/mesa/drivers/windows/gdi/mesa.def
@@ -940,7 +940,7 @@ EXPORTS
_mesa_store_texsubimage3d
_mesa_strcmp
_mesa_test_proxy_teximage
- _mesa_unreference_framebuffer
+ _mesa_reference_framebuffer
_mesa_update_framebuffer_visual
_mesa_use_program
_mesa_Viewport
diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c
index 80746950c71..d1103f31670 100644
--- a/src/mesa/drivers/windows/gdi/wmesa.c
+++ b/src/mesa/drivers/windows/gdi/wmesa.c
@@ -62,7 +62,7 @@ wmesa_free_framebuffer(HDC hdc)
else
prev->next = pwfb->next;
fb = &pwfb->Base;
- _mesa_unreference_framebuffer(&fb);
+ _mesa_reference_framebuffer(&fb, NULL);
}
}