memset(&ctx->TextureFormatSupported, GL_TRUE,
sizeof(ctx->TextureFormatSupported));
- ctx->Cache = disk_cache_create();
-
switch (ctx->API) {
case API_OPENGL_COMPAT:
ctx->BeginEnd = create_beginend_table(ctx);
free(ctx->BeginEnd);
free(ctx->OutsideBeginEnd);
free(ctx->Save);
- ralloc_free(ctx->Cache);
return GL_FALSE;
}
free(ctx->Save);
free(ctx->ContextLost);
- ralloc_free(ctx->Cache);
-
/* Shared context state (display lists, textures, etc) */
_mesa_reference_shared_state(ctx, &ctx->Shared, NULL);