summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2013-08-14 13:21:43 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-03-14 22:26:26 +0100
commitbed442198f2ac9eda58568d4653e93b6adcee27e (patch)
tree4d8133c9e16923e70721546f82470f49e0eaaa13 /Source/Core/VideoCommon
parent2af50f04c21a12e9516dba6c12f73af3f5b7834d (diff)
PixelShaderGen: Make SampleTexture static inline.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 9f634d4def..58d29436a4 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -1040,7 +1040,7 @@ static inline void WriteStage(T& out, pixel_shader_uid_data& uid_data, int n, AP
}
template<class T>
-void SampleTexture(T& out, const char *texcoords, const char *texswap, int texmap, API_TYPE ApiType)
+static inline void SampleTexture(T& out, const char *texcoords, const char *texswap, int texmap, API_TYPE ApiType)
{
out.SetConstantsUsed(C_TEXDIMS+texmap,C_TEXDIMS+texmap);