[PATCH] compositor-drm: fix EGL format type

Alex DAMIAN alexandru.damian at intel.com
Wed Oct 2 09:51:05 PDT 2013


From: Alexandru DAMIAN <alexandru.damian at 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.damian at 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



More information about the wayland-devel mailing list