mirror of
https://github.com/holub/mame
synced 2025-05-31 18:11:50 +03:00
revert attempted fix for color overlays not working on vector games, this fixes MT issues 05324 and 05332, and breaks 05214 again
This commit is contained in:
parent
5a9085c8a8
commit
539241d2e3
@ -785,19 +785,6 @@ mtlog_add("drawd3d_window_draw: begin_scene");
|
|||||||
|
|
||||||
void renderer::process_primitives()
|
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
|
// Rotating index for vector time offsets
|
||||||
for (render_primitive *prim = m_window->primlist->first(); prim != NULL; prim = prim->next())
|
for (render_primitive *prim = m_window->primlist->first(); prim != NULL; prim = prim->next())
|
||||||
{
|
{
|
||||||
@ -815,16 +802,15 @@ void renderer::process_primitives()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case render_primitive::QUAD:
|
case render_primitive::QUAD:
|
||||||
if (!PRIMFLAG_GET_SCREENTEX(prim->flags) && !PRIMFLAG_GET_VECTORBUF(prim->flags))
|
draw_quad(prim);
|
||||||
{
|
|
||||||
draw_quad(prim);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw emu_fatalerror("Unexpected render_primitive type");
|
throw emu_fatalerror("Unexpected render_primitive type");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
batch_vectors();
|
||||||
}
|
}
|
||||||
|
|
||||||
void renderer::end_frame()
|
void renderer::end_frame()
|
||||||
|
Loading…
Reference in New Issue
Block a user