tgsi: add initializer data to fix MSVC compile error

This commit is contained in:
Brian Paul 2013-03-19 07:55:48 -06:00
parent 897303f8ff
commit b51f8593d8
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ tgsi_util_get_inst_usage_mask(const struct tgsi_full_instruction *inst,
struct tgsi_src_register
tgsi_util_get_src_from_ind(const struct tgsi_ind_register *reg)
{
struct tgsi_src_register src = {};
struct tgsi_src_register src = { 0 };
src.File = reg->File;
src.Index = reg->Index;