summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/drawd3d.h')
-rw-r--r--src/osd/modules/render/drawd3d.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/osd/modules/render/drawd3d.h b/src/osd/modules/render/drawd3d.h
index b5672be91ee..9c2014ead39 100644
--- a/src/osd/modules/render/drawd3d.h
+++ b/src/osd/modules/render/drawd3d.h
@@ -38,7 +38,7 @@ public:
cache_target() { }
~cache_target();
- bool init(renderer *d3d, base *d3dintf, int width, int height, int prescale_x, int prescale_y);
+ bool init(renderer *d3d, base *d3dintf, int target_width, int target_height);
surface *last_target;
texture *last_texture;
@@ -65,16 +65,13 @@ public:
render_target() { }
~render_target();
- bool init(renderer *d3d, base *d3dintf, int width, int height, int prescale_x, int prescale_y);
+ bool init(renderer *d3d, base *d3dintf, int width, int height, int target_width, int target_height);
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;
@@ -82,10 +79,10 @@ public:
int screen_index;
int page_index;
- surface *prescale_target[2];
- texture *prescale_texture[2];
- surface *native_target[2];
- texture *native_texture[2];
+ surface *target_surface[2];
+ texture *target_texture[2];
+ surface *source_surface[2];
+ texture *source_texture[2];
render_target *next;
render_target *prev;