Explorar o código

video_core: add extra braces around initializer

Trivial change and fixes several warnings in the clang build.
Yuri Kunde Schlesner %!s(int64=11) %!d(string=hai) anos
pai
achega
9b7d85a4f5
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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);
     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,
-                 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 {
     enum class BlendEquation : u32 {