diff Makefile @ 2685:da2e06c42d16

Add a compile-time flag to use RGB565 instead of ABGR/ARGB
author Michael Pavone <pavone@retrodev.com>
date Sun, 30 Mar 2025 00:06:53 -0700
parents 99297d5f4c5d
children b42f00a3a937
line wrap: on
line diff
--- a/Makefile	Sat Mar 29 23:54:45 2025 -0700
+++ b/Makefile	Sun Mar 30 00:06:53 2025 -0700
@@ -67,6 +67,10 @@
 USE_GLES:=1
 endif
 
+ifdef USE_RGB565
+CFLAGS+= -DUSE_RGB565
+endif
+
 ifdef USE_FBDEV
 LIBS=alsa
 ifndef NOGL