From 6480b8b75d4465f8f962c7044f416a49374a39dd Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 8 Oct 2014 09:04:21 -0400 Subject: [PATCH] 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 --- 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); -- 2.7.4