From 6736fbdba4dd6de0f60e80afd64ede783f192b5d Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 28 Nov 2008 18:01:10 +0000 Subject: Add fill support for BPP < 8 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1335 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxglib/nxglib_bitblit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/graphics/nxglib/nxglib_bitblit.h') diff --git a/nuttx/graphics/nxglib/nxglib_bitblit.h b/nuttx/graphics/nxglib/nxglib_bitblit.h index 523b55597..a35dd0a8b 100644 --- a/nuttx/graphics/nxglib/nxglib_bitblit.h +++ b/nuttx/graphics/nxglib/nxglib_bitblit.h @@ -63,7 +63,7 @@ # define NXGL_PIXELSHIFT 3 # define NXGL_PIXELMASK 7 -# define NXGL_MULTIPIXEL(p) ((p) ? 0xff | 0x00) +# define NXGL_MULTIPIXEL(p) ((p) ? 0xff : 0x00) # define NXGL_PIXEL_T ubyte #elif NXGLIB_BITSPERPIXEL == 2 -- cgit v1.2.3