summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.h
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-02-07 13:40:24 +0100
committer ImJezze <jezze@gmx.net>2016-02-07 13:40:24 +0100
commitd15d53c728b4848e3ed74d66b9ab446811e1acee (patch)
tree5346f7ff12c1925073ef3b4b830e7b9df87523a5 /src/osd/modules/render/drawd3d.h
parentf5e3032d98257ceaa7800251139f3c6df98f13e8 (diff)
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)
Diffstat (limited to 'src/osd/modules/render/drawd3d.h')
-rw-r--r--src/osd/modules/render/drawd3d.h4
1 files changed, 4 insertions, 0 deletions
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;