summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.h
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2015-07-05 18:01:21 +0200
committer ImJezze <jezze@gmx.net>2015-07-05 18:01:21 +0200
commit35ad49dd032969062083e3db8637f9557727b60a (patch)
tree32fe5ae9945280c93e8dc4521269f117af3f81a3 /src/osd/modules/render/drawd3d.h
parentae39030c787468dfbd5387020075f9a0b94a7aec (diff)
Refactoring
- made most render pass functions independent from each other - resused phosphor and bloom pass function for vector rendering
Diffstat (limited to 'src/osd/modules/render/drawd3d.h')
-rw-r--r--src/osd/modules/render/drawd3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/modules/render/drawd3d.h b/src/osd/modules/render/drawd3d.h
index 89a2da4f4ba..ae7db3a3304 100644
--- a/src/osd/modules/render/drawd3d.h
+++ b/src/osd/modules/render/drawd3d.h
@@ -67,6 +67,7 @@ public:
~render_target();
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; }
int target_width;
int target_height;