jpeg pushed a commit to branch master.

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

commit 371e4becd65ee9e3a14d872d5f4fccc6bb5b4430
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Aug 18 18:16:10 2015 +0900

    Evas GL: Add EVGL_FUNC_BEGIN() to GLES 3 functions as well
    
    This call ensures that the context is current (context restore).
---
 src/modules/evas/engines/gl_common/evas_gl_api.c | 2 ++
 1 file changed, 2 insertions(+)

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 a20eb52..7af887d 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api.c
@@ -1020,12 +1020,14 @@ static ret evgl_##name param1 { \
 // Open GLES 3.0 APIs
 #define _EVASGL_FUNCTION_BEGIN(ret, name, param1, param2) \
 static ret evgl_gles3_##name param1 { \
+   EVGL_FUNC_BEGIN(); \
    if (!_gles3_api.name) return (ret)0; \
    return _gles3_api.name param2; \
 }
 
 #define _EVASGL_FUNCTION_BEGIN_VOID(name, param1, param2) \
 static void evgl_gles3_##name param1 { \
+   EVGL_FUNC_BEGIN(); \
    if (!_gles3_api.name) return; \
    _gles3_api.name param2; \
 }

-- 


Reply via email to