conditionally...

SVN revision: 11697
This commit is contained in:
Carsten Haitzler 2004-09-23 01:29:32 +00:00
parent 4dc39d4dfa
commit 344adc8480
1 changed files with 9 additions and 2 deletions

View File

@ -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;