summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/drawd3d.cpp')
-rw-r--r--src/osd/modules/render/drawd3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/render/drawd3d.cpp b/src/osd/modules/render/drawd3d.cpp
index 86534ee8a9e..426ea067590 100644
--- a/src/osd/modules/render/drawd3d.cpp
+++ b/src/osd/modules/render/drawd3d.cpp
@@ -1557,7 +1557,7 @@ void renderer_d3d9::batch_vector(const render_primitive &prim, float line_time)
// determine the bounds of a quad to draw this line
render_bounds b0, b1;
- render_line_to_quad(&prim.bounds, effwidth, &b0, &b1);
+ render_line_to_quad(&prim.bounds, effwidth, effwidth, &b0, &b1);
float dx = b1.x1 - b0.x1;
float dy = b1.y1 - b0.y1;
@@ -1663,7 +1663,7 @@ void renderer_d3d9::draw_line(const render_primitive &prim)
// determine the bounds of a quad to draw this line
render_bounds b0, b1;
- render_line_to_quad(&prim.bounds, effwidth, &b0, &b1);
+ render_line_to_quad(&prim.bounds, effwidth, 0.0f, &b0, &b1);
// iterate over AA steps
for (const line_aa_step *step = PRIMFLAG_GET_ANTIALIAS(prim.flags) ? line_aa_4step : line_aa_1step;