mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
"Fix" for bug 9170. May need more attention.
This commit is contained in:
parent
4b1d1b7b18
commit
cce5084941
1 changed files with 3 additions and 0 deletions
|
|
@ -1269,6 +1269,9 @@ void r300_setup_textures(GLcontext *ctx)
|
|||
tmu_mappings[i] = hw_tmu;
|
||||
|
||||
t=r300->state.texture.unit[i].texobj;
|
||||
/* XXX questionable fix for bug 9170: */
|
||||
if (!t)
|
||||
continue;
|
||||
|
||||
if((t->format & 0xffffff00)==0xffffff00) {
|
||||
WARN_ONCE("unknown texture format (entry %x) encountered. Help me !\n", t->format & 0xff);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue