From: Alexandru DAMIAN <alexandru.dam...@intel.com> EGLInt is not always uint32_t so we need to make sure we use the right int size for the format.
Signed-off-by: Alexandru DAMIAN <alexandru.dam...@intel.com> --- src/compositor-drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 2770c85..9228f85 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -85,7 +85,7 @@ struct drm_compositor { uint32_t crtc_allocator; uint32_t connector_allocator; struct wl_listener session_listener; - uint32_t format; + EGLint format; /* we need these parameters in order to not fail drmModeAddFB2() * due to out of bounds dimensions, and then mistakenly set -- 1.8.1.2 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel