shithub: drawterm

Download patch

ref: 80e484d564586d035af62709835cd6ed65a05d38
parent: cea88957a555d8989f34e0ed9b14f261ea6b7cfa
author: cinap_lenrek <[email protected]>
date: Fri Jan 6 14:54:59 EST 2023

fix accidental reintroduction of Screeninfo

--- a/kern/screen.h
+++ b/kern/screen.h
@@ -1,7 +1,6 @@
 typedef struct Mouseinfo Mouseinfo;
 typedef struct Mousestate Mousestate;
 typedef struct Cursorinfo Cursorinfo;
-typedef struct Screeninfo Screeninfo;
 
 struct Mousestate {
 	Point	xy;
@@ -29,17 +28,10 @@
 	uchar	set[2*16];
 };
 
-struct Screeninfo {
-	Lock	lk;
-	int	depth;
-	int	dibtype;
-};
-
 extern	Memimage *gscreen;
 extern	Mouseinfo mouse;
 extern	Cursorinfo cursor;
 extern	Cursorinfo arrow;
-extern	Screeninfo screen;
 
 void	screeninit(void);
 void	screenload(Rectangle, int, uchar *, Point, int);