PixelShaderGen: Fixes implicit type conversion or PR #3772.

This regression did only happen on OpenGL ES.
This commit is contained in:
degasus 2016-04-10 12:49:32 +02:00
parent c4af588945
commit ef01f234df

View File

@ -836,7 +836,7 @@ static void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE
uid_data->SetTevindrefTexmap(i, texmap); uid_data->SetTevindrefTexmap(i, texmap);
out.Write("\ttextemp = "); out.Write("\ttextemp = ");
SampleTexture<T>(out, "(tevcoord.xy)", texswap, texmap, ApiType); SampleTexture<T>(out, "float2(tevcoord.xy)", texswap, texmap, ApiType);
} }
else else
{ {