st/mesa: fix MSVC compile breakage
Trivial.
This commit is contained in:
@@ -351,7 +351,7 @@ st_tgsi_lower_depth_clamp(const struct tgsi_token *tokens,
|
|||||||
int depth_range_const,
|
int depth_range_const,
|
||||||
bool clip_negative_one_to_one)
|
bool clip_negative_one_to_one)
|
||||||
{
|
{
|
||||||
struct tgsi_depth_clamp_transform ctx = {};
|
struct tgsi_depth_clamp_transform ctx = {0};
|
||||||
struct tgsi_token *newtoks;
|
struct tgsi_token *newtoks;
|
||||||
int newlen;
|
int newlen;
|
||||||
|
|
||||||
@@ -405,4 +405,4 @@ st_tgsi_lower_depth_clamp_fs(const struct tgsi_token *tokens,
|
|||||||
int depth_range_const)
|
int depth_range_const)
|
||||||
{
|
{
|
||||||
return st_tgsi_lower_depth_clamp(tokens, depth_range_const, false);
|
return st_tgsi_lower_depth_clamp(tokens, depth_range_const, false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user