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

SVN revision: 54593
expedite-1.1
Cedric BAIL 13 years ago
parent 73c0ae2145
commit ba990a5681
  1. 5
      src/bin/engine_gl_sdl.c

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

Loading…
Cancel
Save