diff options
author | Daniel Borca <[email protected]> | 2004-08-16 08:34:13 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-08-16 08:34:13 +0000 |
commit | ddff3525869850229a6a79ee2bd58b391c8bbfe6 (patch) | |
tree | 9b028c8be34ee9605ef9fb6b2e31ef56e44b3a7c /src/mesa/drivers/glide/fxapi.c | |
parent | 624477afbba684922d02fa5c76b4d10664df9063 (diff) |
cleanup
Diffstat (limited to 'src/mesa/drivers/glide/fxapi.c')
-rw-r--r-- | src/mesa/drivers/glide/fxapi.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index f348dd45bbc..8fa06952daa 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -818,21 +818,17 @@ fxMesaDestroyContext(fxMesaContext fxMesa) (unsigned) st.pixelsOut); } - /* [dBorca] - * close the hardware first, so we can debug - * atexit problems (memory leaks, etc). - * NB: fxDDDestroyFxMesaContext must be called - * before _mesa_destroy_context; which must be - * called before fxTMClose! + /* close the hardware first, + * so we can debug atexit problems (memory leaks, etc). */ grSstWinClose(fxMesa->glideContext); fxCloseHardware(); - fxDDDestroyFxMesaContext(fxMesa); + fxDDDestroyFxMesaContext(fxMesa); /* must be before _mesa_destroy_context */ _mesa_destroy_visual(fxMesa->glVis); _mesa_destroy_context(fxMesa->glCtx); _mesa_destroy_framebuffer(fxMesa->glBuffer); - fxTMClose(fxMesa); + fxTMClose(fxMesa); /* must be after _mesa_destroy_context */ FREE(fxMesa); |