summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-04-21 07:52:29 +0200
committer ImJezze <jezze@gmx.net>2016-04-21 07:52:29 +0200
commitb1c06acb61c741fc9bcb1bd7428728e291510a39 (patch)
tree4c94fc0083fb832462b0b746fb98277551f4e87c /hlsl
parenta72ad0c4fe65b507bc4fd17aac580683e289e2fd (diff)
Implemented handling for u_screen_scale and u_screen_offset (nw)
Diffstat (limited to 'hlsl')
-rw-r--r--hlsl/post.fx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsl/post.fx b/hlsl/post.fx
index 1ef59fcca39..f0babe68bca 100644
--- a/hlsl/post.fx
+++ b/hlsl/post.fx
@@ -147,7 +147,7 @@ float2 GetAdjustedCoords(float2 coord, float2 centerOffset)
coord -= centerOffset;
// apply screen scale
- coord /= ScreenScale;
+ coord *= ScreenScale;
// un-center coordinates
coord += centerOffset;