Revert "mesa: move _mesa_meta_init/free() calls to core Mesa"

This reverts commit 651cffd626.

The commit inadvertantly introduced a new gallium dependency on the meta code.
This commit is contained in:
Brian Paul
2009-09-20 22:06:03 -06:00
parent 41fefe88c5
commit da9d8f1924
4 changed files with 17 additions and 5 deletions

View File

@@ -149,7 +149,6 @@
#include "version.h"
#include "viewport.h"
#include "vtxfmt.h"
#include "drivers/common/meta.h"
#include "glapi/glthread.h"
#include "glapi/glapioffsets.h"
#include "glapi/glapitable.h"
@@ -927,8 +926,6 @@ _mesa_initialize_context(GLcontext *ctx,
_mesa_initialize_context_extra(ctx);
#endif
_mesa_meta_init(ctx);
ctx->FirstTimeCurrent = GL_TRUE;
return GL_TRUE;
@@ -994,8 +991,6 @@ _mesa_free_context_data( GLcontext *ctx )
_mesa_make_current(ctx, NULL, NULL);
}
_mesa_meta_free(ctx);
/* unreference WinSysDraw/Read buffers */
_mesa_reference_framebuffer(&ctx->WinSysDrawBuffer, NULL);
_mesa_reference_framebuffer(&ctx->WinSysReadBuffer, NULL);