diff -u -b -B -u -r1.12 r300_texmem.c --- r300_texmem.c 4 Dec 2005 00:37:35 -0000 1.12 +++ r300_texmem.c 8 Dec 2005 22:27:34 -0000 @@ -486,6 +486,7 @@ } LOCK_HARDWARE(&rmesa->radeon); + ga: if (t->base.memBlock == NULL) { int heap; @@ -501,6 +502,10 @@ t->bufAddr = rmesa->radeon.radeonScreen->texOffset[heap] + t->base.memBlock->ofs; t->offset = t->bufAddr; + if(t->offset >= 0xc3ff0000){ + t->base.memBlock = NULL; + goto ga; + } /* Mark this texobj as dirty on all units: */