From 539241d2e3afad1f929473910e55836cd21f6854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Mon, 28 Oct 2013 20:23:13 +0000 Subject: [PATCH] revert attempted fix for color overlays not working on vector games, this fixes MT issues 05324 and 05332, and breaks 05214 again --- src/osd/windows/drawd3d.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c index 00c29ab734c..a780095342f 100644 --- a/src/osd/windows/drawd3d.c +++ b/src/osd/windows/drawd3d.c @@ -785,19 +785,6 @@ mtlog_add("drawd3d_window_draw: begin_scene"); void renderer::process_primitives() { - for (render_primitive *prim = m_window->primlist->first(); prim != NULL; prim = prim->next()) - { - if (prim->type == render_primitive::QUAD) - { - if (PRIMFLAG_GET_SCREENTEX(prim->flags) || PRIMFLAG_GET_VECTORBUF(prim->flags)) - { - draw_quad(prim); - } - } - } - - batch_vectors(); - // Rotating index for vector time offsets for (render_primitive *prim = m_window->primlist->first(); prim != NULL; prim = prim->next()) { @@ -815,16 +802,15 @@ void renderer::process_primitives() break; case render_primitive::QUAD: - if (!PRIMFLAG_GET_SCREENTEX(prim->flags) && !PRIMFLAG_GET_VECTORBUF(prim->flags)) - { - draw_quad(prim); - } + draw_quad(prim); break; default: throw emu_fatalerror("Unexpected render_primitive type"); } } + + batch_vectors(); } void renderer::end_frame()