diff --git a/libweston/renderer-gl/gl-renderer.c b/libweston/renderer-gl/gl-renderer.c index caa858c3..33d75844 100644 --- a/libweston/renderer-gl/gl-renderer.c +++ b/libweston/renderer-gl/gl-renderer.c @@ -2393,7 +2393,7 @@ gl_renderer_fill_buffer_info(struct weston_compositor *ec, struct gl_renderer *gr = get_renderer(ec); struct gl_buffer_state *gb = zalloc(sizeof(*gb)); EGLint format; - uint32_t fourcc; + uint32_t fourcc = 0; GLenum target; EGLint y_inverted; bool ret = true;