From d15d53c728b4848e3ed74d66b9ab446811e1acee Mon Sep 17 00:00:00 2001 From: ImJezze Date: Sun, 7 Feb 2016 13:40:24 +0100 Subject: Fixed Bloom Level Alignment - fixed target dimensions of bloom levels, which results in a much better alignment especially for game with very low resolution (therefore current bloom settings might look a little less intense than before) - small cleanups (nw) --- src/osd/modules/render/drawd3d.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osd/modules/render/drawd3d.h') diff --git a/src/osd/modules/render/drawd3d.h b/src/osd/modules/render/drawd3d.h index 906bd7711b8..b5672be91ee 100644 --- a/src/osd/modules/render/drawd3d.h +++ b/src/osd/modules/render/drawd3d.h @@ -43,9 +43,11 @@ public: surface *last_target; texture *last_texture; + // real target dimension int target_width; int target_height; + // only used to identify/find the render target int width; int height; @@ -66,12 +68,14 @@ public: bool init(renderer *d3d, base *d3dintf, int width, int height, int prescale_x, int prescale_y); int next_index(int index) { return ++index > 1 ? 0 : index; } + // real target dimension int target_width; int target_height; int prescale_x; int prescale_y; + // only used to identify/find the render target int width; int height; -- cgit v1.2.3