summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-04-10 12:49:32 +0200
committerdegasus <wickmarkus@web.de>2016-04-10 12:49:32 +0200
commitef01f234df3f0c950ffe7727f3fe07d656795524 (patch)
tree3ca43c6ecc14b54388643fb63ccc350aa1471b7d /Source/Core
parentc4af5889457c10e3cad6c35c41045fe9017d9633 (diff)
PixelShaderGen: Fixes implicit type conversion or PR #3772.
This regression did only happen on OpenGL ES.
Diffstat (limited to 'Source/Core')
-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 70f033c3a3..b1b4a999a6 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -836,7 +836,7 @@ static void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE
uid_data->SetTevindrefTexmap(i, texmap);
out.Write("\ttextemp = ");
- SampleTexture<T>(out, "(tevcoord.xy)", texswap, texmap, ApiType);
+ SampleTexture<T>(out, "float2(tevcoord.xy)", texswap, texmap, ApiType);
}
else
{