shithub: drawterm

Download patch

ref: 5811e042319450a2dd86641c64e39fec8dac7280
parent: f8fc90dc8f960ce6e1c95f94b35fb771e82278fd
author: 23hiro <23hiro@gmail.com>
date: Sat Feb 20 15:01:18 EST 2016

gui-x11: disable xdraw() acceleration to fix crazy rendering bugs

--- a/gui-x11/x11.c	Sat Feb 20 14:54:07 2016
+++ b/gui-x11/x11.c	Sat Feb 20 15:01:18 2016
@@ -388,6 +388,12 @@
 static int
 xdraw(Memdrawparam *par)
 {
+	return 0;
+}
+
+static int
+xdraw_broken(Memdrawparam *par)
+{
 	int dy, dx;
 	unsigned m;
 	Memimage *src, *dst, *mask;