mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
Unichrome DRI driver:
Check for texture allocation failure (Bugzilla #1633, Bartlomiej Krol) Reenabled AGP textures (Thomas Hellstrm)
This commit is contained in:
parent
58f5b91b1b
commit
a47c4c37ce
1 changed files with 5 additions and 7 deletions
|
|
@ -441,14 +441,12 @@ void viaUploadTexImages(viaContextPtr vmesa, viaTextureObjectPtr t)
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
||||||
/*=* John Sheng [2003.5.31] agp tex *=*/
|
/*=* John Sheng [2003.5.31] agp tex *=*/
|
||||||
via_alloc_texture(vmesa, t);
|
if (via_alloc_texture_agp(vmesa, t))
|
||||||
/*via_alloc_texture_agp(vmesa, t);*/
|
break;
|
||||||
|
if (via_alloc_texture(vmesa, t))
|
||||||
if (t->texMem.offset)
|
|
||||||
break;
|
break;
|
||||||
else
|
|
||||||
agpFullCount++;
|
|
||||||
|
|
||||||
|
agpFullCount++;
|
||||||
if (vmesa->TexObjList.prev == vmesa->CurrentTexObj[0] ||
|
if (vmesa->TexObjList.prev == vmesa->CurrentTexObj[0] ||
|
||||||
vmesa->TexObjList.prev == vmesa->CurrentTexObj[1]) {
|
vmesa->TexObjList.prev == vmesa->CurrentTexObj[1]) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue