intel: More reverting of the sw fallback for depth texture border color.

The rest was done with 9aec1288ee
This commit is contained in:
Eric Anholt 2010-09-24 18:19:08 -07:00
parent 2e3d22b074
commit 86ad797be4
1 changed files with 1 additions and 4 deletions

View File

@ -73,10 +73,7 @@ guess_and_alloc_mipmap_tree(struct intel_context *intel,
DBG("%s\n", __FUNCTION__);
if (intelImage->base.Border ||
((intelImage->base._BaseFormat == GL_DEPTH_COMPONENT) &&
((intelObj->base.WrapS == GL_CLAMP_TO_BORDER) ||
(intelObj->base.WrapT == GL_CLAMP_TO_BORDER))))
if (intelImage->base.Border)
return;
if (intelImage->level > intelObj->base.BaseLevel &&