Fill in some default properties for our engine info.
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:15:15 +0000 (09:15 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:15:15 +0000 (09:15 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83231

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

index 85725a9..54aacb9 100644 (file)
@@ -64,6 +64,10 @@ eng_info(Evas *eo_evas EINA_UNUSED)
    if (!(info = calloc(1, sizeof(Evas_Engine_Info_Wayland_Shm))))
      return NULL;
 
+   /* fill in default engine info fields */
+   info->magic.magic = rand();
+   info->render_mode = EVAS_RENDER_MODE_BLOCKING;
+
    return NULL;
 }