diff options
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_texmem.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_texmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_texmem.c b/src/mesa/drivers/dri/unichrome/via_texmem.c index 5803394742..6f4edde64e 100644 --- a/src/mesa/drivers/dri/unichrome/via_texmem.c +++ b/src/mesa/drivers/dri/unichrome/via_texmem.c @@ -40,7 +40,6 @@ #include "via_ioctl.h" #include "via_fb.h" /*=* John Sheng [2003.5.31] agp tex *=*/ -GLuint agpFullCount = 0; void viaDestroyTexObj(viaContextPtr vmesa, viaTextureObjectPtr t) { @@ -410,7 +409,7 @@ void viaUploadTexImages(viaContextPtr vmesa, viaTextureObjectPtr t) if (via_alloc_texture(vmesa, t)) break; - agpFullCount++; + vmesa->agpFullCount++; if (vmesa->TexObjList.prev == vmesa->CurrentTexObj[0] || vmesa->TexObjList.prev == vmesa->CurrentTexObj[1]) { if (VIA_DEBUG) fprintf(stderr, "Hit bound texture in upload\n"); |