aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta_blit.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-27 13:04:18 -0700
committerBrian Paul <[email protected]>2015-02-27 15:22:24 -0700
commit544f56b75a58baf4cfadb646b0a21939a67c0113 (patch)
treede3ff7c9d178301edfb6cd6e573d6594e588fdec /src/mesa/drivers/common/meta_blit.c
parent098e5bf3b37431af2a9156789cbc9534f0b70235 (diff)
meta: silence uninitialized variable warnings for MinGW
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta_blit.c')
-rw-r--r--src/mesa/drivers/common/meta_blit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c
index 971a2ff1deb..bb2164276b2 100644
--- a/src/mesa/drivers/common/meta_blit.c
+++ b/src/mesa/drivers/common/meta_blit.c
@@ -133,6 +133,8 @@ setup_glsl_msaa_blit_scaled_shader(struct gl_context *ctx,
sample_map = ctx->Const.SampleMap8x;
break;
default:
+ sample_number = NULL;
+ sample_map = NULL;
_mesa_problem(ctx, "Unsupported sample count %d\n", samples);
unreachable("Unsupported sample count");
}