From c1e28df22c258e3f2ad0a765b3fc35a63ab9512d Mon Sep 17 00:00:00 2001 From: jethead71 Date: Fri, 4 Jun 2010 13:54:35 +0000 Subject: [PATCH] test_gfx preprocessing needs to be rearranged a little different so mylcd defaults to core graphics unless greylib is being tested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26544 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_gfx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/plugins/test_gfx.c b/apps/plugins/test_gfx.c index 3ba895610..2c46d16b6 100644 --- a/apps/plugins/test_gfx.c +++ b/apps/plugins/test_gfx.c @@ -16,13 +16,16 @@ * KIND, either express or implied. * ****************************************************************************/ + +//#define TEST_GREYLIB /* Uncomment for testing greylib instead of core gfx */ + #include "plugin.h" +#ifdef TEST_GREYLIB /* otherwise, mylcd defaults to core gfx */ #include "lib/grey.h" +#endif #include "lib/helper.h" #include "lib/mylcd.h" -//#define TEST_GREYLIB /* Uncomment for testing greylib instead of core gfx */ - #ifdef TEST_GREYLIB GREY_INFO_STRUCT static unsigned char *gbuf; -- 2.11.4.GIT