gl: fix fallback definition of EGL_DEFAULT_DISPLAY
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 4 Dec 2013 13:34:45 +0000 (15:34 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Dec 2013 19:37:57 +0000 (11:37 -0800)
commite47d0d986c595b91c6072d3866ad42688b333e55
treee11db1188bf7f5a8b3b5c4298f2bd3cd4a6f5a30
parent677a5f5ac2406bc7efb36af6507844813850389c
gl: fix fallback definition of EGL_DEFAULT_DISPLAY

Compiling fbdev backend on RaspberryPi caused the following warning:

compositor-fbdev.c: In function 'fbdev_compositor_create':
compositor-fbdev.c:929:6: warning: passing argument 2 of
'gl_renderer->create' makes integer from pointer without a cast [enabled
by default]
compositor-fbdev.c:929:6: note: expected 'EGLNativeDisplayType' but
argument is of type 'void *'

Fix the definition of EGL_DEFAULT_DISPLAY to match the definition in
EGL/egl.h (of Mesa).

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/gl-renderer.h