summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/EfbInterface.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-10 21:51:05 -0400
committerLioncash <mathew1800@gmail.com>2014-08-10 22:28:15 -0400
commit4129cdeb4d1e3969aba64cf2dad25b3864eedccb (patch)
tree3cc91829e2f60f4dbab5c16b6b026f045ef87aee /Source/Core/VideoBackends/Software/EfbInterface.cpp
parent568bdec5983a419dd06e9e497ec43d04677bc2df (diff)
Software: Apply static to some functions
Diffstat (limited to 'Source/Core/VideoBackends/Software/EfbInterface.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/EfbInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp
index cc0469193a..cd10922981 100644
--- a/Source/Core/VideoBackends/Software/EfbInterface.cpp
+++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp
@@ -20,12 +20,12 @@ namespace EfbInterface
{
u32 perf_values[PQ_NUM_MEMBERS];
- inline u32 GetColorOffset(u16 x, u16 y)
+ static inline u32 GetColorOffset(u16 x, u16 y)
{
return (x + y * EFB_WIDTH) * 3;
}
- inline u32 GetDepthOffset(u16 x, u16 y)
+ static inline u32 GetDepthOffset(u16 x, u16 y)
{
return (x + y * EFB_WIDTH) * 3 + DEPTH_BUFFER_START;
}