diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-10-12 13:24:40 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-10-12 13:24:40 +1000 |
commit | d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a (patch) | |
tree | 0907d29a9695d1b93b02de1582345aea6446e991 /include/gfx_rules.h | |
parent | b3ee216bd2565e8ab9298f1f54b8e6df762b7d58 (diff) | |
download | uGFX-d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a.tar.gz uGFX-d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a.tar.bz2 uGFX-d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a.zip |
Multiple displays across one or more controllers is now fully supported.
Only the Win32 driver supports this so far.
Other drivers are currently broken due to API changes and will be fixed.
Diffstat (limited to 'include/gfx_rules.h')
-rw-r--r-- | include/gfx_rules.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/gfx_rules.h b/include/gfx_rules.h index a8dd031e..c58fc5ba 100644 --- a/include/gfx_rules.h +++ b/include/gfx_rules.h @@ -134,12 +134,14 @@ #endif #if GFX_USE_GDISP - #if GDISP_MULTIPLE_DRIVERS + #if GDISP_TOTAL_CONTROLLERS > 1 + #ifndef GDISP_CONTROLLER_LIST + #error "GDISP Multiple Controllers: You must specify a value for GDISP_CONTROLLER_LIST" + #endif #ifndef GDISP_PIXELFORMAT #if GFX_DISPLAY_RULE_WARNINGS - #warning "GDISP: GDISP_MULTIPLE_DRIVERS requires GDISP_PIXELFORMAT to be set. It has been defaulted to GDISP_PIXELFORMAT_RGB565." + #error "GDISP Multiple Controllers: You must specify a value for GDISP_PIXELFORMAT" #endif - #define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB565 #endif #endif #if GDISP_NEED_ANTIALIAS && !GDISP_NEED_PIXELREAD |