summaryrefslogtreecommitdiffstats
path: root/mesa-8.0.1-fix-16bpp.patch
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2012-04-24 17:47:33 +0100
committerRichard Hughes <richard@hughsie.com>2012-04-24 17:47:33 +0100
commit43e76b84efc9c56618675b1141127ac5263c5740 (patch)
treee9970e84789e0a9d49c927c535741a8c536956f5 /mesa-8.0.1-fix-16bpp.patch
parent5a541d6a418edd2358a4f830068523cd33ab6b76 (diff)
downloadmesa-43e76b84efc9c56618675b1141127ac5263c5740.tar.gz
mesa-43e76b84efc9c56618675b1141127ac5263c5740.tar.xz
mesa-43e76b84efc9c56618675b1141127ac5263c5740.zip
Rebuild with new git snapshot
- Remove upstreamed patches
Diffstat (limited to 'mesa-8.0.1-fix-16bpp.patch')
-rw-r--r--mesa-8.0.1-fix-16bpp.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/mesa-8.0.1-fix-16bpp.patch b/mesa-8.0.1-fix-16bpp.patch
index 4e3977b..0b8e68a 100644
--- a/mesa-8.0.1-fix-16bpp.patch
+++ b/mesa-8.0.1-fix-16bpp.patch
@@ -1,17 +1,3 @@
-diff -up Mesa-8.0.1/src/glx/drisw_glx.c.jx Mesa-8.0.1/src/glx/drisw_glx.c
---- Mesa-8.0.1/src/glx/drisw_glx.c.jx 2012-04-02 10:34:23.000000000 -0400
-+++ Mesa-8.0.1/src/glx/drisw_glx.c 2012-04-02 11:44:19.296407735 -0400
-@@ -274,7 +274,9 @@ swrastShmGetImage(__DRIdrawable *read, c
- do {
- int i;
- char *src = ximage->data;
-- int dst_width = align(ximage->width * ximage->bits_per_pixel / 8, 256);
-+ int bytes_per_pixel = ((ximage->bits_per_pixel + 7) / 8);
-+ int dst_width = align(ximage->width * bytes_per_pixel,
-+ 64 * bytes_per_pixel);
-
- for (i = 0; i < ximage->height; i++) {
- memcpy(data, src, ximage->bytes_per_line);
diff -up Mesa-8.0.1/src/mesa/state_tracker/st_manager.c.jx Mesa-8.0.1/src/mesa/state_tracker/st_manager.c
--- Mesa-8.0.1/src/mesa/state_tracker/st_manager.c.jx 2012-02-14 18:44:00.000000000 -0500
+++ Mesa-8.0.1/src/mesa/state_tracker/st_manager.c 2012-04-02 12:02:14.613964417 -0400