initialize fourcc with DRM_FORMAT_INVALID
Signed-off-by: Max Ihlenfeldt <max@igalia.com>
This commit is contained in:
parent
a5f3bece5a
commit
cccff21538
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user