summaryrefslogtreecommitdiff
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
parente63e84a5dfb18e9b7eca8dabcd2d58ceac342529 (diff)
downloadrockbox-43fcc1e80baca650f2e03a4b0d0e176fcacacdf4.tar.gz
rockbox-43fcc1e80baca650f2e03a4b0d0e176fcacacdf4.zip
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
-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 @@
16 * KIND, either express or implied. 16 * KIND, either express or implied.
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19
20//#define TEST_GREYLIB /* Uncomment for testing greylib instead of core gfx */
21
19#include "plugin.h" 22#include "plugin.h"
23#ifdef TEST_GREYLIB /* otherwise, mylcd defaults to core gfx */
20#include "lib/grey.h" 24#include "lib/grey.h"
25#endif
21#include "lib/helper.h" 26#include "lib/helper.h"
22#include "lib/mylcd.h" 27#include "lib/mylcd.h"
23 28
24//#define TEST_GREYLIB /* Uncomment for testing greylib instead of core gfx */
25
26#ifdef TEST_GREYLIB 29#ifdef TEST_GREYLIB
27GREY_INFO_STRUCT 30GREY_INFO_STRUCT
28static unsigned char *gbuf; 31static unsigned char *gbuf;