-
Wujian Sun authored
| ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c: In function 'main': | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:190:24: error: passing argument 1 of 'eglGetDisplay' from incompatible pointer type [-Wincompatible-pointer-types] | 190 | dpy = eglGetDisplay(gbm); | | ^~~ | | | | | struct gbm_device * | In file included from ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:33: Type' {aka 'struct wl_display *'} but argument is of type 'struct gbm_device *' | 143 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay (EGLNativeDisplayType display_id); | | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:229:50: error: passing argument 3 of 'eglCreateWindowSurface' from incompatible pointer type [-Wincompatible-pointer-types] | 229 | surface = eglCreateWindowSurface(dpy, config, gs, NULL); | | ^~ | | | | | struct gbm_surface * Signed-off-by:
Wujian Sun <wujian.sun_1@nxp.com> Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com>
Wujian Sun authored| ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c: In function 'main': | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:190:24: error: passing argument 1 of 'eglGetDisplay' from incompatible pointer type [-Wincompatible-pointer-types] | 190 | dpy = eglGetDisplay(gbm); | | ^~~ | | | | | struct gbm_device * | In file included from ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:33: Type' {aka 'struct wl_display *'} but argument is of type 'struct gbm_device *' | 143 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay (EGLNativeDisplayType display_id); | | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:229:50: error: passing argument 3 of 'eglCreateWindowSurface' from incompatible pointer type [-Wincompatible-pointer-types] | 229 | surface = eglCreateWindowSurface(dpy, config, gs, NULL); | | ^~ | | | | | struct gbm_surface * Signed-off-by:
Wujian Sun <wujian.sun_1@nxp.com> Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com>