raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f022c23166abf1cfbade4a813cf8f679cf275854

commit f022c23166abf1cfbade4a813cf8f679cf275854
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Apr 12 11:36:28 2015 +0900

    evas - gl common engine - dont complain on every surace opt fetch
    
    this causes a complint every single frame - not a good idea.
---
 src/modules/evas/engines/gl_common/evas_gl_core.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c 
b/src/modules/evas/engines/gl_common/evas_gl_core.c
index f3ecc9b..3c79e69 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -2628,11 +2628,7 @@ evgl_native_surface_direct_opts_get(Evas_Native_Surface 
*ns,
      {
         sfc = ns->data.evasgl.surface;
      }
-   else
-     {
-        ERR("Only EVAS_NATIVE_SURFACE_EVASGL can be used for direct 
rendering");
-        return EINA_FALSE;
-     }
+   else return EINA_FALSE;
 
    if (evgl_engine->api_debug_mode)
      {

-- 


Reply via email to