forked from enlightenment/efl
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:
parent
db6c17627f
commit
4e6b06dfd7
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue