summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.cpp
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-05-22 20:06:00 +0200
committer ImJezze <jezze@gmx.net>2016-05-22 20:54:31 +0200
commit052fd0c608e8a4bb0ed300e4ac95638963127043 (patch)
treefbe6e94537cce505778cc2a49443d461070130b0 /src/osd/modules/render/drawd3d.cpp
parent92c2bdf9170662274f0c2ca1e3a30357f02ca977 (diff)
Moved extension of vector lines to where it belongs (nw)
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;