summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/render.c
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2012-12-31 21:29:02 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2012-12-31 21:29:02 +0000
commit7e652d13c538f96ee0d43207cd373e4f53d06805 (patch)
treedc298738aeb7eb4cc7bd8a19212056706fe19f5a /src/emu/render.c
parent2be79ec4d38880fc38be80213ac115910e891782 (diff)
- render.c: Added new PRIMFLAG macros pertaining to vectors, to be used by the
OSD. [MooglyGuy] - d3dhlsl.c: Began laying the groundwork for vector post-processing, disabled by default. [MooglyGuy]
Diffstat (limited to 'src/emu/render.c')
-rw-r--r--src/emu/render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/render.c b/src/emu/render.c
index 2e5e5d87290..08e80616f76 100644
--- a/src/emu/render.c
+++ b/src/emu/render.c
@@ -1762,6 +1762,7 @@ void render_target::add_container_primitives(render_primitive_list &list, const
// set the line type
prim->type = render_primitive::LINE;
+ prim->flags |= PRIMFLAG_TYPE_LINE;
// scale the width by the minimum of X/Y scale factors
prim->width = curitem->width() * MIN(container_xform.xscale, container_xform.yscale);
@@ -1774,6 +1775,7 @@ void render_target::add_container_primitives(render_primitive_list &list, const
case CONTAINER_ITEM_QUAD:
// set the quad type
prim->type = render_primitive::QUAD;
+ prim->flags |= PRIMFLAG_TYPE_QUAD;
// normalize the bounds
normalize_bounds(prim->bounds);