diff options
author | Brian Paul <[email protected]> | 2009-09-03 21:36:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-06 09:37:29 -0600 |
commit | f477fa7a85b76256aea910bd03ee83a26fedae4f (patch) | |
tree | 0a24e52eb9580d5e5cfabaa1087caf7f5abd9dd5 /src/mesa/drivers/common | |
parent | 0e5293a24019a777c46734f9b5f6e8d764c11672 (diff) |
mesa: free meta bitmap buffers
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/meta.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 10b3516fbd7..1010d6a6836 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -276,6 +276,10 @@ _mesa_meta_free(GLcontext *ctx) _mesa_DeleteVertexArraysAPPLE(1, &meta->DrawPix.ArrayObj); _mesa_DeletePrograms(1, &meta->DrawPix.DepthFP); _mesa_DeletePrograms(1, &meta->DrawPix.StencilFP); + + /* glBitmap */ + _mesa_DeleteBuffersARB(1, & meta->Bitmap.VBO); + _mesa_DeleteVertexArraysAPPLE(1, &meta->Bitmap.ArrayObj); } _mesa_free(ctx->Meta); |