From b1c06acb61c741fc9bcb1bd7428728e291510a39 Mon Sep 17 00:00:00 2001 From: ImJezze Date: Thu, 21 Apr 2016 07:52:29 +0200 Subject: Implemented handling for u_screen_scale and u_screen_offset (nw) --- hlsl/post.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hlsl') 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; -- cgit v1.2.3-70-g09d2