diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | unichrome/via_accel.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2006-12-28 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> + * unichrome/via_accel.c: (viaExaTexUploadToScreen): + + Work around an obscure hardware limitation when texturing from + AGP. + +2006-12-28 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> + * unichrome/via_dri.c: (VIASetAgpMode): Fix AGP mode setting. diff --git a/unichrome/via_accel.c b/unichrome/via_accel.c index 0ec216e..c6c15e9 100644 --- a/unichrome/via_accel.c +++ b/unichrome/via_accel.c @@ -1696,7 +1696,7 @@ viaExaTexUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h, char *src, dstOffset = exaGetPixmapOffset(pDst); if (pVia->nPOT[0]) { - texPitch = ALIGN_TO(wBytes, 8); + texPitch = ALIGN_TO(wBytes, 32); height = VIA_AGP_UPL_SIZE / texPitch; } else { viaOrder(wBytes, &texPitch); |