diff options
| author | Mat M <mathew1800@gmail.com> | 2017-01-05 14:27:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-05 14:27:27 -0500 |
| commit | 495580637ffd8b847d7df43f60bf0d8ccc65b3ba (patch) | |
| tree | 14b8ceb1204b4839c453a08f407b4395b70e3d51 /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | 9da6982ac30bec46f29530d07f86766dd44236bf (diff) | |
| parent | 23d99f2f2c6f3e16dce2371141702d07bef40e95 (diff) | |
Merge pull request #4606 from BhaaLseN/clang-format-union
specify custom brace style to fix unions
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 6818efa7b2..8a29f152e9 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -21,7 +21,8 @@ namespace PixelEngine { -union UPEZConfReg { +union UPEZConfReg +{ u16 Hex; struct { @@ -32,7 +33,8 @@ union UPEZConfReg { }; }; -union UPEAlphaConfReg { +union UPEAlphaConfReg +{ u16 Hex; struct { @@ -48,7 +50,8 @@ union UPEAlphaConfReg { }; }; -union UPEDstAlphaConfReg { +union UPEDstAlphaConfReg +{ u16 Hex; struct { @@ -58,7 +61,8 @@ union UPEDstAlphaConfReg { }; }; -union UPEAlphaModeConfReg { +union UPEAlphaModeConfReg +{ u16 Hex; struct { @@ -68,7 +72,8 @@ union UPEAlphaModeConfReg { }; // fifo Control Register -union UPECtrlReg { +union UPECtrlReg +{ struct { u16 PETokenEnable : 1; |
