gl: fix fallback definition of EGL_DEFAULT_DISPLAY
[profile/ivi/weston-ivi-shell.git] / src / gl-renderer.h
index 63b371c..dcdf69d 100644 (file)
@@ -35,7 +35,7 @@ typedef void *EGLDisplay;
 typedef void *EGLSurface;
 typedef intptr_t EGLNativeDisplayType;
 typedef intptr_t EGLNativeWindowType;
-#define EGL_DEFAULT_DISPLAY NULL
+#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
 
 #endif