shithub: drawterm

Download patch

ref: 5811e042319450a2dd86641c64e39fec8dac7280
parent: f8fc90dc8f960ce6e1c95f94b35fb771e82278fd
author: 23hiro <[email protected]>
date: Sat Feb 20 16:01:18 EST 2016

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

--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -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;