diff options
author | Brian Paul <[email protected]> | 2009-02-09 08:31:28 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-09 14:00:47 -0700 |
commit | 7eb5a2892d3d89f4b1800311babb40af1ec7d4e5 (patch) | |
tree | cb7dafe139be3a00c0c92146210925ba8dbb83b3 /src/mesa/drivers/glide | |
parent | d52294439c80c99a4bfa2c7ecc65efa67f095a3f (diff) |
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r-- | src/mesa/drivers/glide/fxapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index b7708fd636a..238f4915995 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -728,7 +728,7 @@ errorhandler: FREE(fxMesa->fogTable); } if (fxMesa->glBuffer) { - _mesa_unreference_framebuffer(&fxMesa->glBuffer); + _mesa_reference_framebuffer(&fxMesa->glBuffer, NULL); } if (fxMesa->glVis) { _mesa_destroy_visual(fxMesa->glVis); @@ -828,7 +828,7 @@ fxMesaDestroyContext(fxMesaContext fxMesa) fxDDDestroyFxMesaContext(fxMesa); /* must be before _mesa_destroy_context */ _mesa_destroy_visual(fxMesa->glVis); _mesa_destroy_context(fxMesa->glCtx); - _mesa_unreference_framebuffer(&fxMesa->glBuffer); + _mesa_reference_framebuffer(&fxMesa->glBuffer, NULL); fxTMClose(fxMesa); /* must be after _mesa_destroy_context */ FREE(fxMesa); |