diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-02-16 19:12:42 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-02-16 19:12:42 -0600 |
| commit | 6b5f6ddaa120beaf619e8efc6982c922fc7dc37d (patch) | |
| tree | 4b487d028eded527d60320b7408143d2c6e9e5ac /Source/Core/VideoBackends/Software/Tev.cpp | |
| parent | 2b4464f8ddf71d9d908ef5b6c9808cdec6480d57 (diff) | |
| parent | 6c4ee1753aa2b9e620138801b479365b0569317c (diff) | |
Merge pull request #82 from lioncash/vertical-alignment
Fix some vertical alignments
Diffstat (limited to 'Source/Core/VideoBackends/Software/Tev.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Tev.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index 69c16aeb34..254d4cbcff 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -119,7 +119,7 @@ inline s16 Clamp255(s16 in) inline s16 Clamp1024(s16 in) { - return in>1023?1023:(in<-1024?-1024:in); + return in>1023?1023:(in<-1024?-1024:in); } void Tev::SetRasColor(int colorChan, int swaptable) @@ -595,10 +595,12 @@ void Tev::Draw() #if ALLOW_TEV_DUMPS if (g_SWVideoConfig.bDumpTevStages) { - u8 stage[4] = { IndirectTex[stageNum][TextureSampler::ALP_SMP], - IndirectTex[stageNum][TextureSampler::BLU_SMP], - IndirectTex[stageNum][TextureSampler::GRN_SMP], - 255}; + u8 stage[4] = { + IndirectTex[stageNum][TextureSampler::ALP_SMP], + IndirectTex[stageNum][TextureSampler::BLU_SMP], + IndirectTex[stageNum][TextureSampler::GRN_SMP], + 255 + }; DebugUtil::DrawTempBuffer(stage, INDIRECT + stageNum); } #endif |
