projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098e5bf
)
meta: silence uninitialized variable warnings for MinGW
author
Brian Paul
<brianp@vmware.com>
Fri, 27 Feb 2015 20:04:18 +0000
(13:04 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 27 Feb 2015 22:22:24 +0000
(15:22 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/common/meta_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/meta_blit.c
b/src/mesa/drivers/common/meta_blit.c
index 971a2ff1debdaf45a7e5f7859775f693f61400c7..bb2164276b2c98f63018ab7bdf0425cd9124ae7e 100644
(file)
--- 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");
}