From 9b7d85a4f5a3ce6fb4940156af8945bb6214250c Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sun, 14 Jun 2015 00:32:33 -0300 Subject: video_core: add extra braces around initializer Trivial change and fixes several warnings in the clang build. --- src/video_core/pica.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_core/pica.h') diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 684ec981..9628a758 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -372,9 +372,9 @@ struct Regs { INSERT_PADDING_WORDS(0x2); const std::array 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 { -- cgit v1.2.3