summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-11-16 15:31:44 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-11-16 15:31:44 +0000
commitba990a568177f39d423a9d7bca571a3d0a931baa (patch)
treeb4000383ed149e430fd14deda0a7cb0826c61a98
parent73c0ae21456912572ac13b1eaa81e5e5f39b5e7e (diff)
* expedite: don't segv when GL SDL engine is not compiled.
SVN revision: 54593
-rw-r--r--src/bin/engine_gl_sdl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/engine_gl_sdl.c b/src/bin/engine_gl_sdl.c
index 0dc9a73..5a230b3 100644
--- a/src/bin/engine_gl_sdl.c
+++ b/src/bin/engine_gl_sdl.c
@@ -12,6 +12,11 @@ engine_gl_sdl_args(const char *engine, int width, int height)
12 evas_output_method_set(evas, evas_render_method_lookup("gl_sdl")); 12 evas_output_method_set(evas, evas_render_method_lookup("gl_sdl"));
13 13
14 einfo = (Evas_Engine_Info_GL_SDL *) evas_engine_info_get(evas); 14 einfo = (Evas_Engine_Info_GL_SDL *) evas_engine_info_get(evas);
15 if (!einfo)
16 {
17 printf("Evas wasn't build with GL SDL backend.\n");
18 return EINA_FALSE;
19 }
15 20
16 /* the following is specific to the engine */ 21 /* the following is specific to the engine */
17 einfo->flags.fullscreen = fullscreen; 22 einfo->flags.fullscreen = fullscreen;