diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-10 21:51:05 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-10 22:28:15 -0400 |
| commit | 4129cdeb4d1e3969aba64cf2dad25b3864eedccb (patch) | |
| tree | 3cc91829e2f60f4dbab5c16b6b026f045ef87aee /Source/Core/VideoBackends/Software/Tev.cpp | |
| parent | 568bdec5983a419dd06e9e497ec43d04677bc2df (diff) | |
Software: Apply static to some functions
Diffstat (limited to 'Source/Core/VideoBackends/Software/Tev.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Tev.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index 8dd048f53b..35e6c302fe 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -123,12 +123,12 @@ void Tev::Init() m_ScaleRShiftLUT[3] = 1; } -inline s16 Clamp255(s16 in) +static inline s16 Clamp255(s16 in) { return in>255?255:(in<0?0:in); } -inline s16 Clamp1024(s16 in) +static inline s16 Clamp1024(s16 in) { return in>1023?1023:(in<-1024?-1024:in); } @@ -366,7 +366,7 @@ static bool TevAlphaTest(int alpha) return true; } -inline s32 WrapIndirectCoord(s32 coord, int wrapMode) +static inline s32 WrapIndirectCoord(s32 coord, int wrapMode) { switch (wrapMode) { |
