summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-12-19 14:26:57 -0700
committerBrian Paul <[email protected]>2015-01-05 13:50:54 -0700
commit83b344021bb872d549709dcbbc7e68e175f70bff (patch)
tree1a7b6239a4e5e433832b33008e1a26f8ee5d9dcb /src/mesa/drivers/common
parentd294365d061626cf5f6a2b04c4cde9455093fea0 (diff)
meta: init var to silence uninitialized variable warning
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 87532c1dfea..f479b1cf0a0 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -3177,7 +3177,7 @@ _mesa_meta_GetTexImage(struct gl_context *ctx,
{
if (_mesa_is_format_compressed(texImage->TexFormat)) {
GLuint slice;
- bool result;
+ bool result = true;
for (slice = 0; slice < texImage->Depth; slice++) {
void *dst;