gl-renderer: make EGL typedefs similar to EGL/egl.h when building without EGL support
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 11 Jan 2013 10:50:45 +0000 (13:50 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 15 Jan 2013 21:00:16 +0000 (16:00 -0500)
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gl-renderer.h

index 81735e6..a2e8690 100644 (file)
@@ -53,10 +53,10 @@ gl_renderer_print_egl_error_state(void);
 #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[];