shithub: cstory

Download patch

ref: b652bc842bf596d5f2d9ffa6bca911df8014c1b6
parent: c51c37600c6b34c34ef1fa8b6ac864cf2770fc02
author: Jacob Moody <moody@posixcafe.org>
date: Fri Jul 19 14:08:42 EDT 2024

We shouldn't need to check this anymore

--- a/src/Backends/Rendering/9front.cpp
+++ b/src/Backends/Rendering/9front.cpp
@@ -75,17 +75,6 @@
 	memimageinit();
 	if(initdraw(nil, nil, "cstory") < 0)
 		sysfatal("initdraw: %r");
-	switch(screen->chan){
-	case XRGB32:
-	case ARGB32:
-	case XBGR32:
-	case ABGR32:
-		break;
-	default:
-		/* TODO? */
-		sysfatal("unsupported screen color channel");
-		return;
-	}
 
 	resizec = chancreate(sizeof(int), 1);
 	mctl = initmouse(nil, screen);