summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/render.c
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2013-01-21 02:40:48 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2013-01-21 02:40:48 +0000
commitd157249cb74fe849effaef21c1676a8cf17474e4 (patch)
treedb3388ea55fde34ff34e5f9f42da0521ebc6ea5e /src/emu/render.c
parent7f3372abf3800e185fa56b51d137e0c47e3357df (diff)
d3dhlsl.c: Add preliminary vector post-processing. [MooglyGuy]
Diffstat (limited to 'src/emu/render.c')
-rw-r--r--src/emu/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/render.c b/src/emu/render.c
index 52b0d6d9765..1f6c6578ee2 100644
--- a/src/emu/render.c
+++ b/src/emu/render.c
@@ -1766,7 +1766,7 @@ void render_target::add_container_primitives(render_primitive_list &list, const
// scale the width by the minimum of X/Y scale factors
prim->width = curitem->width() * MIN(container_xform.xscale, container_xform.yscale);
- prim->flags = curitem->flags();
+ prim->flags |= curitem->flags();
// clip the primitive
clipped = render_clip_line(&prim->bounds, &cliprect);
@@ -1819,7 +1819,7 @@ void render_target::add_container_primitives(render_primitive_list &list, const
// no texture -- set the basic flags
prim->texture.base = NULL;
- prim->flags = PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA);
+ prim->flags = (curitem->flags() &~ PRIMFLAG_BLENDMODE_MASK) | PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA);
// apply clipping
clipped = render_clip_quad(&prim->bounds, &cliprect, NULL);