ecore_evas - patched by Gwanglim Lee <gl77.lee@samsung.com>
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 25 Aug 2011 08:14:21 +0000 (08:14 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 25 Aug 2011 08:14:21 +0000 (08:14 +0000)
Hi all,

I've fixed a minor bug in the ecore_evas_gl_x11_pre_post_swap_callback_set API.
It wasn't setting a post_swap callback properly.

Please review it.

BR,

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@62785 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas_x.c

index 137ac91..7f94b05 100644 (file)
@@ -3326,7 +3326,7 @@ ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, v
    if (einfo)
      {
         einfo->callback.pre_swap = pre_cb;
-        einfo->callback.pre_swap = post_cb;
+        einfo->callback.post_swap = post_cb;
         einfo->callback.data = data;
         if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
           {