Test for valid engine output to see if we need to create it.
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:16:03 +0000 (09:16 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:16:03 +0000 (09:16 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83236

src/modules/evas/engines/wayland_shm/evas_engine.c

index af4fd11..ca51601 100644 (file)
@@ -87,6 +87,7 @@ eng_setup(Evas *eo_evas, void *einfo)
 {
    Evas_Engine_Info_Wayland_Shm *info;
    Evas_Public_Data *epd;
+   Render_Engine *re = NULL;
 
    /* try to cast the engine info to our engine info */
    if (!(info = (Evas_Engine_Info_Wayland_Shm *)einfo))
@@ -96,6 +97,12 @@ eng_setup(Evas *eo_evas, void *einfo)
    if (!(epd = eo_data_get(eo_evas, EVAS_CLASS)))
      return 0;
 
+   /* test for valid engine output */
+   if (!(re = epd->engine.data.output))
+     {
+
+     }
+
    return 0;
 }