diff options
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagetex.c')
-rw-r--r-- | src/mesa/drivers/dri/savage/savagetex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/savage/savagetex.c b/src/mesa/drivers/dri/savage/savagetex.c index 613a2712aee..49aedc41301 100644 --- a/src/mesa/drivers/dri/savage/savagetex.c +++ b/src/mesa/drivers/dri/savage/savagetex.c @@ -278,7 +278,7 @@ static void savageUploadTexLevel( savageTexObjPtr t, int level ) bpp, src, width * bpp, dest); } src += tileInfo->width * bpp; - dest += 2048; /* tile size is always 2k */ + dest += tileInfo->width * bpp * height; if (dirtyMask == 1<<31) { dirtyMask = 1; dirtyPtr++; |