فهرست منبع

video_core: add extra braces around initializer

Trivial change and fixes several warnings in the clang build.
Yuri Kunde Schlesner 11 سال پیش
والد
کامیت
9b7d85a4f5
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  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 {