opnsense-ports/emulators/m2000/files/patch-X.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
377 B
C

--- X.c.orig Wed Aug 24 15:59:59 2005
+++ X.c Wed Aug 24 16:00:08 2005
@@ -290,7 +290,7 @@
DefaultGC=DefaultGCOfScreen (Scr);
DefaultCMap=DefaultColormapOfScreen (Scr);
bpp=DefaultDepthOfScreen (Scr);
- if (bpp!=8 && bpp!=16 && bpp!=32)
+ if (bpp!=8 && bpp!=16 && bpp!=24 && bpp!=32)
{
printf ("FAILED - Only 8,16 and 32 bpp displays are supported\n");
return 0;