If there happened to be ->Data present, we assertion failed instead of
handling it correctly.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35234
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
region->width, region->height, 1,
0, internalFormat, format);
- if (intel_image->mt) {
- intel_miptree_release(intel, &intel_image->mt);
- assert(!image->Data);
- }
+ ctx->Driver.FreeTextureImageBuffer(ctx, image);
intel_image->mt = intel_miptree_create_for_region(intel, target,
image->TexFormat,