gl-renderer: make EGL typedefs similar to EGL/egl.h when building without EGL support
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
diff --git a/src/gl-renderer.h b/src/gl-renderer.h
index 81735e6..a2e8690 100644
--- a/src/gl-renderer.h
+++ b/src/gl-renderer.h
@@ -53,10 +53,10 @@
#else
typedef int EGLint;
-typedef int EGLDisplay;
-typedef int EGLSurface;
-typedef long int EGLNativeDisplayType;
-typedef long int EGLNativeWindowType;
+typedef void *EGLDisplay;
+typedef void *EGLSurface;
+typedef intptr_t EGLNativeDisplayType;
+typedef intptr_t EGLNativeWindowType;
static const EGLint gl_renderer_opaque_attribs[];
static const EGLint gl_renderer_alpha_attribs[];