Merge pull request #861 from yuriks/tevstage-warning

video_core: add extra braces around initializer
This commit is contained in:
archshift 2015-06-14 10:48:01 -07:00
commit 0bebac3259

View File

@ -372,9 +372,9 @@ struct Regs {
INSERT_PADDING_WORDS(0x2); INSERT_PADDING_WORDS(0x2);
const std::array<Regs::TevStageConfig,6> GetTevStages() const { const std::array<Regs::TevStageConfig,6> GetTevStages() const {
return { tev_stage0, tev_stage1, return {{ tev_stage0, tev_stage1,
tev_stage2, tev_stage3, tev_stage2, tev_stage3,
tev_stage4, tev_stage5 }; tev_stage4, tev_stage5 }};
}; };
enum class BlendEquation : u32 { enum class BlendEquation : u32 {