Commit 5306ee73 authored by Brian Paul's avatar Brian Paul

mesa: initialize "is_layered" variable to silence warning

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent b98fa6fe
......@@ -880,7 +880,7 @@ _mesa_test_framebuffer_completeness(struct gl_context *ctx,
/* Covers max_layer_count, is_layered, and layer_tex_target */
bool layer_info_valid = false;
GLuint max_layer_count = 0, att_layer_count;
bool is_layered;
bool is_layered = false;
GLenum layer_tex_target = 0;
assert(_mesa_is_user_fbo(fb));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment