diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-16 08:34:13 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-16 08:34:13 +0000 |
commit | ddff3525869850229a6a79ee2bd58b391c8bbfe6 (patch) | |
tree | 9b028c8be34ee9605ef9fb6b2e31ef56e44b3a7c /src/mesa/drivers/glide/fxapi.c | |
parent | 624477afbba684922d02fa5c76b4d10664df9063 (diff) | |
download | external_mesa3d-ddff3525869850229a6a79ee2bd58b391c8bbfe6.zip external_mesa3d-ddff3525869850229a6a79ee2bd58b391c8bbfe6.tar.gz external_mesa3d-ddff3525869850229a6a79ee2bd58b391c8bbfe6.tar.bz2 |
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 f348dd4..8fa0695 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); |