fix from i965 driver for compressed textures on texman

This commit is contained in:
Dave Airlie 2006-08-16 03:33:00 +00:00
parent f9f3de8c31
commit c745394242

View file

@ -73,7 +73,7 @@ struct intel_mipmap_tree *intel_miptree_create( struct intel_context *intel,
mt->width0 = width0;
mt->height0 = height0;
mt->depth0 = depth0;
mt->cpp = cpp;
mt->cpp = compressed ? 2 : cpp;
mt->compressed = compressed;
mt->refcount = 1;