[mesa] mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.
Adam Jackson
ajax at fedoraproject.org
Wed Mar 28 20:52:52 UTC 2012
commit 7ff11a949999186e33f55f61295c1b59c3f0ad7f
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Mar 28 16:52:49 2012 -0400
mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.
mesa-8.0-llvmpipe-shmget.patch | 2 +-
mesa.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 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);
diff --git a/mesa.spec b/mesa.spec
index b73c144..cf14814 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -30,7 +30,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 8.0.1
-Release: 7%{?dist}
+Release: 8%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@@ -543,6 +543,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Wed Mar 28 2012 Adam Jackson <ajax at redhat.com> 8.0.1-8
+- mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.
+
* Fri Mar 23 2012 Adam Jackson <ajax at redhat.com> 8.0.1-7
- mesa-8.0-nouveau-tfp-blacklist.patch: gnome-shell blacklisting: nvfx and
below with <= 64M of vram, and all nv30.
More information about the scm-commits
mailing list