diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-30 16:51:27 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-30 18:06:45 -0400 |
| commit | 4af8d9d2487c58953e919769db33b20bc062d6ea (patch) | |
| tree | 753b4b794c64cfbd72f85ec767c38608854157aa /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | bc14d6966f996c482ea97aa9b424e34091bfc8ec (diff) | |
VideoCommon: Clean up brace placements
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index d43e209a72..9e8cb9387f 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -753,7 +753,8 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat ColorMask[4] = ColorMask[7] = 1.0f / 15.0f; cbufid = 16; - if (!efbHasAlpha) { + if (!efbHasAlpha) + { ColorMask[3] = 0.0f; fConstAdd[3] = 1.0f; cbufid = 17; @@ -763,7 +764,8 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat colmat[0] = colmat[4] = colmat[8] = colmat[15] = 1.0f; cbufid = 18; - if (!efbHasAlpha) { + if (!efbHasAlpha) + { ColorMask[3] = 0.0f; fConstAdd[3] = 1.0f; cbufid = 19; @@ -774,7 +776,8 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat colmat[3] = colmat[7] = colmat[11] = colmat[15] = 1.0f; cbufid = 20; - if (!efbHasAlpha) { + if (!efbHasAlpha) + { ColorMask[3] = 0.0f; fConstAdd[0] = 1.0f; fConstAdd[1] = 1.0f; @@ -821,7 +824,8 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat ColorMask[7] = 1.0f / 7.0f; cbufid = 27; - if (!efbHasAlpha) { + if (!efbHasAlpha) + { ColorMask[3] = 0.0f; fConstAdd[3] = 1.0f; cbufid = 28; @@ -831,7 +835,8 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat colmat[0] = colmat[5] = colmat[10] = colmat[15] = 1.0f; cbufid = 29; - if (!efbHasAlpha) { + if (!efbHasAlpha) + { ColorMask[3] = 0.0f; fConstAdd[3] = 1.0f; cbufid = 30; |
