diff --git a/src/wayland/drmclientbuffer.cpp b/src/wayland/drmclientbuffer.cpp index 8b30cf721e..5773ee0aff 100644 --- a/src/wayland/drmclientbuffer.cpp +++ b/src/wayland/drmclientbuffer.cpp @@ -17,7 +17,7 @@ namespace KWaylandServer { -typedef GLboolean (*eglQueryWaylandBufferWL_func)(EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); +typedef EGLBoolean (*eglQueryWaylandBufferWL_func)(EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); static eglQueryWaylandBufferWL_func eglQueryWaylandBufferWL = nullptr; class DrmClientBufferPrivate : public ClientBufferPrivate