jpeg pushed a commit to branch master.

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

commit 8cf1dda9df307886ac67066e1c9963d1f1f1d158
Author: Jean-Philippe Andre <[email protected]>
Date:   Thu Mar 5 17:20:57 2015 +0900

    Evas GL: Fix logic in debug check
---
 src/modules/evas/engines/gl_common/evas_gl_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_api.c 
b/src/modules/evas/engines/gl_common/evas_gl_api.c
index ef9f132..fa28846 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api.c
@@ -24,7 +24,7 @@ void _make_current_check(const char* api)
 
    if (!ctx)
      CRI("\e[1;33m%s\e[m: Current Context NOT SET: GL Call Should NOT Be 
Called without MakeCurrent!!!", api);
-   else if ((ctx->version != EVAS_GL_GLES_2_X) || (ctx->version != 
EVAS_GL_GLES_3_X))
+   else if ((ctx->version != EVAS_GL_GLES_2_X) && (ctx->version != 
EVAS_GL_GLES_3_X))
      CRI("\e[1;33m%s\e[m: This API is being called with the wrong context 
(invalid version).", api);
 }
 

-- 


Reply via email to