projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3d22b
)
intel: More reverting of the sw fallback for depth texture border color.
author
Eric Anholt
<eric@anholt.net>
Sat, 25 Sep 2010 01:19:08 +0000
(18:19 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sat, 25 Sep 2010 01:19:08 +0000
(18:19 -0700)
The rest was done with
9aec1288eeae8e87adc9a99f377be536892941b2
src/mesa/drivers/dri/intel/intel_tex_image.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_image.c
b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 4732efd7d793ba29ba69b0f6cd1a3c11cc4bbc7b..03aba58e1072e74d0b506e8a0a74db6dec847ffc 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_image.c
@@
-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 &&