From 344adc848089330e7f9aeca3e6cbe9013707858b Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 23 Sep 2004 01:29:32 +0000 Subject: [PATCH] conditionally... SVN revision: 11697 --- legacy/emotion/src/bin/emotion_test_main.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c index 82ad15190d..476e87f366 100644 --- a/legacy/emotion/src/bin/emotion_test_main.c +++ b/legacy/emotion/src/bin/emotion_test_main.c @@ -85,12 +85,19 @@ main_start(int argc, char **argv) } } } +#ifdef HAVE_ECORE_EVAS_FB if (mode == 0) ecore_evas = ecore_evas_software_x11_new(NULL, 0, 0, 0, startw, starth); - else if (mode == 1) +#endif +#ifdef HAVE_ECORE_EVAS_GL + if (mode == 1) ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth); - else if (mode == 2) +#endif +#ifdef HAVE_ECORE_EVAS_X + if (mode == 2) ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth); +#endif + #else startw = 240; starth = 320;