evas-gl-drm: Cleanup compiler warnings when building gl_drm engine

Summary: This cleans up nasty compiler warnings when building the
gl_drm engine. If we do not define EGL_EGLEXT_PROTOTYPES then we end
up with implicit declaration warnings

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-06-18 09:59:29 -04:00
parent db6c17627f
commit 4e6b06dfd7
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
# include "Evas.h"
# include "Evas_Engine_GL_Drm.h"
# define EGL_EGLEXT_PROTOTYPES
# define GL_GLEXT_PROTOTYPES
# include <EGL/egl.h>
# include <EGL/eglext.h>
# include <EGL/eglmesaext.h>

View File

@ -246,7 +246,7 @@ _evas_outbuf_egl_setup(Outbuf *ob)
DBG("Config Format: %d", format);
DBG("OB Format: %d", ob->info->info.format);
if (format == ob->info->info.format)
if (format == (int)ob->info->info.format)
{
ob->egl.config = cfgs[i];
break;