summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2013-03-29 22:24:49 +0100
committerNeoBrainX <NeoBrainX@gmail.com>2013-03-29 22:24:49 +0100
commit2afd892e466e656a2dc623bb5d6574d0d6c5533a (patch)
tree1e52ce37458c4072bdbf043e539f0a1858b3fb57 /Source/Core/VideoCommon/Src/PixelShaderGen.cpp
parente31c2aa6013d6a95358251610c15820a34e65a35 (diff)
ShaderGen: More interface cleanups. Less wtfs :)
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderGen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
index d9d45902fe..e534e2a6ca 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
@@ -274,7 +274,8 @@ void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_TYPE ApiType, u
// Non-uid template parameters will write to the dummy data (=> gets optimized out)
pixel_shader_uid_data dummy_data;
- pixel_shader_uid_data& uid_data = (&out.GetUidData() != NULL) ? out.GetUidData() : dummy_data;
+ pixel_shader_uid_data& uid_data = (&out.template GetUidData<pixel_shader_uid_data>() != NULL)
+ ? out.template GetUidData<pixel_shader_uid_data>() : dummy_data;
out.SetBuffer(text);
if (out.GetBuffer() != NULL)