diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-20 22:19:28 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-20 22:19:28 -0600 |
commit | e3384a0d533fe69c1b26f1b03e98beac0b42ccfb (patch) | |
tree | 88a296cf86d7fd827b858b1aaa339bd4bc3d470d | |
parent | 2c1937480a68b066a1a0b8ee3770e675bfad859b (diff) |
windows: call _mesa_meta_init/free()
-rw-r--r-- | src/mesa/drivers/windows/gdi/wmesa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c index e1971db693..8929b22af1 100644 --- a/src/mesa/drivers/windows/gdi/wmesa.c +++ b/src/mesa/drivers/windows/gdi/wmesa.c @@ -12,6 +12,7 @@ #include "framebuffer.h" #include "renderbuffer.h" #include "drivers/common/driverfuncs.h" +#include "drivers/common/meta.h" #include "vbo/vbo.h" #include "swrast/swrast.h" #include "swrast_setup/swrast_setup.h" @@ -1515,6 +1516,8 @@ WMesaContext WMesaCreateContext(HDC hDC, _mesa_enable_2_0_extensions(ctx); _mesa_enable_2_1_extensions(ctx); + _mesa_meta_init(ctx); + /* Initialize the software rasterizer and helper modules. */ if (!_swrast_CreateContext(ctx) || !_vbo_CreateContext(ctx) || @@ -1558,6 +1561,8 @@ void WMesaDestroyContext( WMesaContext pwc ) DeleteObject(pwc->clearPen); DeleteObject(pwc->clearBrush); + _mesa_meta_free(ctx); + _swsetup_DestroyContext(ctx); _tnl_DestroyContext(ctx); _vbo_DestroyContext(ctx); |