Date: Fri, 17 Nov 1995 10:54:01 -0800 From: asami@cs.berkeley.edu (Satoshi Asami) To: smp@csn.net Cc: ports@freebsd.org Subject: Re: Mosaic on 16 bpp displays Message-ID: <199511171854.KAA13646@forgery.CS.Berkeley.EDU> In-Reply-To: <199511170343.UAA27045@clem.systemsix.com> (message from Steve Passe on Thu, 16 Nov 1995 20:43:09 -0700)
next in thread | previous in thread | raw e-mail | index | archive | help
* + /* xdpyinfo: red, green, blue masks: 0xf800, 0x7e0, 0x1f */ * + temp = ( (colrs[(int)*datap].red & 0xf800) | * + ((colrs[(int)*datap].green >> 5) & 0x07e0) | I'm afraid this will work only for "Weight=565" case. Isn't there a function to query this? Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511171854.KAA13646>