summaryrefslogtreecommitdiffstats
path: root/mesa-8.0-llvmpipe-shmget.patch
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2012-03-28 16:52:49 -0400
committerAdam Jackson <ajax@redhat.com>2012-03-28 16:52:49 -0400
commit7ff11a949999186e33f55f61295c1b59c3f0ad7f (patch)
treeb27646f45449f7614e9583cfa0cb199711ffd727 /mesa-8.0-llvmpipe-shmget.patch
parent3af7c5d238fe482a70400968592e2af0069451bf (diff)
downloadmesa-7ff11a949999186e33f55f61295c1b59c3f0ad7f.tar.gz
mesa-7ff11a949999186e33f55f61295c1b59c3f0ad7f.tar.xz
mesa-7ff11a949999186e33f55f61295c1b59c3f0ad7f.zip
mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.
Diffstat (limited to 'mesa-8.0-llvmpipe-shmget.patch')
-rw-r--r--mesa-8.0-llvmpipe-shmget.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesa-8.0-llvmpipe-shmget.patch b/mesa-8.0-llvmpipe-shmget.patch
index 30e27ce..d58518b 100644
--- a/mesa-8.0-llvmpipe-shmget.patch
+++ b/mesa-8.0-llvmpipe-shmget.patch
@@ -110,7 +110,7 @@ diff -up Mesa-8.0.1/src/glx/drisw_glx.c.shmget Mesa-8.0.1/src/glx/drisw_glx.c
+ do {
+ int i;
+ char *src = ximage->data;
-+ int dst_width = align(ximage->width * ximage->bits_per_pixel / 8, 128);
++ int dst_width = align(ximage->width * ximage->bits_per_pixel / 8, 256);
+
+ for (i = 0; i < ximage->height; i++) {
+ memcpy(data, src, ximage->bytes_per_line);