shithub: riscv

Download patch

ref: 5f7a6b7ea3c4ae1b51beffe3309e9b6b0491e71f
parent: 8b59286ef1d9bef6c2c7b248ab0b8072e25ec9cf
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Feb 9 16:39:17 EST 2020

bcm: change ARGB32 to XRGB32 for framebuffer to avoid slow drawing

--- a/sys/src/9/bcm/screen.c
+++ b/sys/src/9/bcm/screen.c
@@ -149,7 +149,7 @@
 		chan = BGR24;
 		break;
 	case 32:
-		chan = ARGB32;
+		chan = XRGB32;
 		break;
 	}
 	memsetchan(&xgscreen, chan);