initialize fourcc with DRM_FORMAT_INVALID

Signed-off-by: Max Ihlenfeldt <max@igalia.com>
This commit is contained in:
Max Ihlenfeldt 2023-06-29 12:35:37 +02:00
parent a5f3bece5a
commit cccff21538

View File

@ -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 = 0;
uint32_t fourcc = DRM_FORMAT_INVALID;
GLenum target;
EGLint y_inverted;
bool ret = true;