summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-08-01 09:07:19 -0600
committerBrian Paul <[email protected]>2019-08-01 09:07:21 -0600
commit3307c85a7dd25fa24d712c69e9c169490a32398c (patch)
treefd467dcaa1bd6d2eb38fe392c567a2bc376d686e /src/mesa
parent9de00e74fe0e0a4044635ddd0cd89188cbbd8c59 (diff)
st/mesa: fix MSVC compile breakage
Trivial.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c b/src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
index b89ee986d33..2b8ed079f81 100644
--- a/src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
+++ b/src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
@@ -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);
-} \ No newline at end of file
+}