diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-28 18:01:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-28 18:01:10 +0000 |
commit | 6736fbdba4dd6de0f60e80afd64ede783f192b5d (patch) | |
tree | 3688ee34b38f2e96f8d8a234db1e0b1d58cb37b4 /nuttx/graphics/nxglib/nxglib_bitblit.h | |
parent | 2bc440dc23bf8bb26198f1a853d7edf29b9c91ec (diff) | |
download | px4-nuttx-6736fbdba4dd6de0f60e80afd64ede783f192b5d.tar.gz px4-nuttx-6736fbdba4dd6de0f60e80afd64ede783f192b5d.tar.bz2 px4-nuttx-6736fbdba4dd6de0f60e80afd64ede783f192b5d.zip |
Add fill support for BPP < 8
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1335 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxglib/nxglib_bitblit.h')
-rw-r--r-- | nuttx/graphics/nxglib/nxglib_bitblit.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |