projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98fa6f
)
mesa: initialize "is_layered" variable to silence warning
author
Brian Paul
<brianp@vmware.com>
Wed, 22 Jan 2014 18:02:28 +0000
(10:02 -0800)
committer
Brian Paul
<brianp@vmware.com>
Thu, 23 Jan 2014 15:13:14 +0000
(08:13 -0700)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index dc7184ad42a6804c5336f0281ef8498e8e399ecd..943f40bd90a66fc9c4628e913ed4314f6a1ff35a 100644
(file)
--- 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));