Procházet zdrojové kódy

Merge pull request #861 from yuriks/tevstage-warning

video_core: add extra braces around initializer
archshift před 11 roky
rodič
revize
0bebac3259
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      src/video_core/pica.h

+ 3 - 3
src/video_core/pica.h

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