Correct the eglQueryWaylandBufferWL_func prototype

I am trying to build against a Qt built without OpenGL. In that case, the
openGL headers have not been included and therefore GLboolean is not
defined. Use EGLBoolean to match the EGL prototype.

See also d18486c033
This commit is contained in:
Alex Richardson 2021-10-05 11:15:26 +01:00
parent 48d9e4cc0e
commit 105042ccda

View file

@ -17,7 +17,7 @@
namespace KWaylandServer 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; static eglQueryWaylandBufferWL_func eglQueryWaylandBufferWL = nullptr;
class DrmClientBufferPrivate : public ClientBufferPrivate class DrmClientBufferPrivate : public ClientBufferPrivate