jackdanielz pushed a commit to branch master.

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

commit cabdbb2f3c79f1c8b1f116be27ff0ab339415e4f
Author: Daniel Zaoui <[email protected]>
Date:   Thu Sep 11 08:35:15 2014 +0300

    Warning--
---
 src/modules/evas/engines/gl_common/evas_gl_texture.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c 
b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index 07f463c..cee054a 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -109,6 +109,8 @@ static const struct {
 
 #define MATCH(_r, _v) ((_r == MATCH_ANY) || (_v == MATCH_ANY) || (_r == _v))
 
+#ifdef GL_TEXTURE_INTERNAL_FORMAT
+# ifndef GL_GLES
 static Eina_Bool
 _evas_gl_texture_match(GLenum intfmt, GLenum intfmtret)
 {
@@ -129,6 +131,8 @@ _evas_gl_texture_match(GLenum intfmt, GLenum intfmtret)
 
    return EINA_FALSE;
 }
+# endif
+#endif
 
 static int
 _evas_gl_texture_search_format(Eina_Bool alpha, Eina_Bool bgra, 
Evas_Colorspace cspace)

-- 


Reply via email to