forked from enlightenment/efl
parent
4dc39d4dfa
commit
344adc8480
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue