aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-06-14 00:32:33 -0300
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-06-14 00:33:08 -0300
commit9b7d85a4f5a3ce6fb4940156af8945bb6214250c (patch)
tree5c54c89c5135b9a682724e78fbf1a83ae5418727 /src/video_core/pica.h
parentbd5c943c658f0fa74531e845242f7b00c504b9dc (diff)
video_core: add extra braces around initializer
Trivial change and fixes several warnings in the clang build.
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h6
1 files changed, 3 insertions, 3 deletions
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<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 {