From 0e9a4c1663e76d6294da61eb59edae12537be5d3 Mon Sep 17 00:00:00 2001 From: "sudonim1@gmail.com" Date: Sun, 17 Jun 2012 17:49:50 +0000 Subject: [PATCH] GSDX: Missed this in d3d9 code while fiddling with the shader. Can't be bothered to do the maths to determine whether doing this twice would have a visible effect. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5301 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/res/tfx.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/res/tfx.fx b/plugins/GSdx/res/tfx.fx index ac7c7bbc95..7ec53d56aa 100644 --- a/plugins/GSdx/res/tfx.fx +++ b/plugins/GSdx/res/tfx.fx @@ -196,7 +196,7 @@ float4 sample_c(float2 uv) float4 sample_p(float u) { - return tex2D(Palette, u * 255./256 + 0.5/256); + return tex2D(Palette, u); } float4 sample_rt(float2 uv)