* expedite: don't segv when GL SDL engine is not compiled.

SVN revision: 54593
This commit is contained in:
Cedric BAIL 2010-11-16 15:31:44 +00:00
parent 73c0ae2145
commit ba990a5681
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ engine_gl_sdl_args(const char *engine, int width, int height)
evas_output_method_set(evas, evas_render_method_lookup("gl_sdl"));
einfo = (Evas_Engine_Info_GL_SDL *) evas_engine_info_get(evas);
if (!einfo)
{
printf("Evas wasn't build with GL SDL backend.\n");
return EINA_FALSE;
}
/* the following is specific to the engine */
einfo->flags.fullscreen = fullscreen;