summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-01-22 10:02:28 -0800
committerBrian Paul <[email protected]>2014-01-23 08:13:14 -0700
commit5306ee736ebcce0c1cf899589c2344acdedc2162 (patch)
tree802145faa778a21636aa40120b97bc656536b74d
parentb98fa6fe6ff10f0f210d44ea411c4ee7429ab2b3 (diff)
mesa: initialize "is_layered" variable to silence warning
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index dc7184ad42a..943f40bd90a 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -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));