st/mesa: fix MSVC compile breakage

Trivial.
This commit is contained in:
Brian Paul
2019-08-01 09:07:19 -06:00
parent 9de00e74fe
commit 3307c85a7d

View File

@@ -351,7 +351,7 @@ st_tgsi_lower_depth_clamp(const struct tgsi_token *tokens,
int depth_range_const,
bool clip_negative_one_to_one)
{
struct tgsi_depth_clamp_transform ctx = {};
struct tgsi_depth_clamp_transform ctx = {0};
struct tgsi_token *newtoks;
int newlen;
@@ -405,4 +405,4 @@ st_tgsi_lower_depth_clamp_fs(const struct tgsi_token *tokens,
int depth_range_const)
{
return st_tgsi_lower_depth_clamp(tokens, depth_range_const, false);
}
}