aboutsummaryrefslogtreecommitdiff
path: root/jmorecfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'jmorecfg.h')
-rw-r--r--jmorecfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jmorecfg.h b/jmorecfg.h
index d699a2c..236bbcb 100644
--- a/jmorecfg.h
+++ b/jmorecfg.h
@@ -20,7 +20,7 @@
#define ANDROID_RGB
#ifdef ANDROID_RGB
-#define PACK_SHORT_565(r,g,b) ((((r)<<8)&0xf800)|(((g)<<3)&0x7C0)|((b)>>3))
+#define PACK_SHORT_565(r,g,b) ((((r)<<8)&0xf800)|(((g)<<3)&0x7E0)|((b)>>3))
#define PACK_TWO_PIXELS(l,r) ((r<<16) | l)
#define PACK_NEED_ALIGNMENT(ptr) (((int)(ptr))&3)
#define WRITE_TWO_PIXELS(addr, pixels) do { \