summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-06-04 13:54:35 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-06-04 13:54:35 +0000
commit43fcc1e80baca650f2e03a4b0d0e176fcacacdf4 (patch)
tree8f3854e02c7d24013d65ff8723c008a46354a111 /apps/plugins
parente63e84a5dfb18e9b7eca8dabcd2d58ceac342529 (diff)
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
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/test_gfx.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/test_gfx.c b/apps/plugins/test_gfx.c
index 3ba8956109..2c46d16b63 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;