mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa: initialize "is_layered" variable to silence warning
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
b98fa6fe6f
commit
5306ee736e
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue