projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4754fc6
)
Fixed stride of incomplete tiles.
author
Felix Kuehling
<fxkuehl@gmx.de>
Wed, 9 Feb 2005 00:45:16 +0000
(
00:45
+0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Wed, 9 Feb 2005 00:45:16 +0000
(
00:45
+0000)
src/mesa/drivers/dri/savage/savagetex.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savagetex.c
b/src/mesa/drivers/dri/savage/savagetex.c
index 613a2712aee00d27a1e29b99fe98a3b5af82baf6..49aedc41301728383633e8c8a83a05589e16b96d 100644
(file)
--- 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++;