intel: Drop the cpp argument to intel_miptree_create().

This commit is contained in:
Eric Anholt
2011-06-09 10:23:17 -07:00
parent 6dcc398ac0
commit f94fef83db
5 changed files with 5 additions and 22 deletions

View File

@@ -633,9 +633,6 @@ intel_render_texture(struct gl_context * ctx,
struct intel_context *intel = intel_context(ctx);
struct intel_mipmap_tree *old_mt = intel_image->mt;
struct intel_mipmap_tree *new_mt;
int texel_bytes;
texel_bytes = _mesa_get_format_bytes(intel_image->base.TexFormat);
new_mt = intel_miptree_create(intel, image->TexObject->Target,
intel_image->base.TexFormat,
@@ -644,7 +641,7 @@ intel_render_texture(struct gl_context * ctx,
intel_image->base.Width,
intel_image->base.Height,
intel_image->base.Depth,
texel_bytes, GL_TRUE);
GL_TRUE);
intel_miptree_image_copy(intel,
new_mt,