aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp_pixmap.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-01-13 14:28:56 +1000
committerinmarket <andrewh@inmarket.com.au>2015-01-13 14:28:56 +1000
commitb68cfa0c2978eff6eb4362d94da3b53f9b37e6b9 (patch)
tree79dc833f4d27c92140d6d2001e5b8dc3a8f0ff06 /src/gdisp/gdisp_pixmap.c
parent8745bb81cf22cf85330f2878474a6e3d29c3bb02 (diff)
downloaduGFX-b68cfa0c2978eff6eb4362d94da3b53f9b37e6b9.tar.gz
uGFX-b68cfa0c2978eff6eb4362d94da3b53f9b37e6b9.tar.bz2
uGFX-b68cfa0c2978eff6eb4362d94da3b53f9b37e6b9.zip
Support dynamic displays at compile time, don't re-orient pixmaps at initialisation time.
Diffstat (limited to 'src/gdisp/gdisp_pixmap.c')
-rw-r--r--src/gdisp/gdisp_pixmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gdisp/gdisp_pixmap.c b/src/gdisp/gdisp_pixmap.c
index 19757757..d088a57b 100644
--- a/src/gdisp/gdisp_pixmap.c
+++ b/src/gdisp/gdisp_pixmap.c
@@ -31,6 +31,7 @@
#define GDISP_HARDWARE_CONTROL TRUE
#define IN_PIXMAP_DRIVER TRUE
#define GDISP_DRIVER_VMT GDISPVMT_pixmap
+#define GDISP_DRIVER_VMT_FLAGS (GDISP_VFLG_DYNAMICONLY|GDISP_VFLG_PIXMAP)
// This pseudo driver currently only supports unpacked formats with more than 8 bits per pixel
// that is, we only support GRAY_SCALE and PALETTE with 8 bits per pixel or any unpacked TRUE_COLOR format.