backport sw native surface fix too.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 20 Sep 2012 13:38:13 +0000 (13:38 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 20 Sep 2012 13:38:13 +0000 (13:38 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/evas-1.7@76912 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/software_generic/evas_engine.c

index adce37f..8160fa8 100644 (file)
@@ -625,7 +625,7 @@ eng_image_native_set(void *data __UNUSED__, void *image, void *native __UNUSED__
 
    if (!im)
      {
-        if ((!ns) && (ns->data.x11.visual))
+        if ((ns) && (ns->data.x11.visual))
           {
              im = evas_cache_image_data(evas_common_image_cache_get(),
                                         im->w, im->h,