evas gl x11 engine do extra check to make coverity happen
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 13 Aug 2014 09:27:46 +0000 (18:27 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 13 Aug 2014 09:27:46 +0000 (18:27 +0900)
this fixes CID 1226192

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

index a5567dcc634c614ee5945d0b15568056039e8d66..5e47fafdebc03f4657fa04bce29e133c2966c235 100644 (file)
@@ -1125,7 +1125,9 @@ eng_setup(Evas *eo_e, void *in)
         return 0;
      }
 
-   evas_render_engine_software_generic_tile_strict_set(&re->generic.software, EINA_TRUE);
+   if (re->generic.software.tb)
+     evas_render_engine_software_generic_tile_strict_set
+       (&re->generic.software, EINA_TRUE);
 
    if (!e->engine.data.context)
      e->engine.data.context =