devilhorns pushed a commit to branch master.

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

commit 6480b8b75d4465f8f962c7044f416a49374a39dd
Author: Chris Michael <[email protected]>
Date:   Wed Oct 8 09:04:21 2014 -0400

    evas-gl-common: Fix compile for EGL due to missing GL_LINE_SMOOTH
    
    Summary:
    When compiling for EGL, GL_LINE_SMOOTH ends up not being defined so
    compile breaks. This fix just checks if GL_LINE_SMOOTH is missing and
    if so it defines it.
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/gl_common/evas_gl_context.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c 
b/src/modules/evas/engines/gl_common/evas_gl_context.c
index 14f3ff1..b05d348 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_context.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_context.c
@@ -32,6 +32,11 @@ void       (*glsym_glStartTiling)          (GLuint a, GLuint 
b, GLuint c, GLuint
 void       (*glsym_glEndTiling)            (GLuint a) = NULL;
 
 #ifdef GL_GLES
+
+# ifndef GL_LINE_SMOOTH
+#  define GL_LINE_SMOOTH 0x0B20
+# endif
+
 // just used for finding symbols :)
 typedef void (*_eng_fn) (void);
 

-- 


Reply via email to