GPU/HW: Draw opaque before semitransparent for reverse subtract

Fixes missing shadows in Suikoden II.
This commit is contained in:
Connor McLaughlin 2020-11-22 13:46:19 +10:00
parent e06f85a328
commit 07dbc5a80d
1 changed files with 1 additions and 1 deletions

View File

@ -1039,8 +1039,8 @@ void GPU_HW::FlushRender()
if (m_batch.NeedsTwoPassRendering())
{
m_renderer_stats.num_batches += 2;
DrawBatchVertices(BatchRenderMode::OnlyTransparent, m_batch_base_vertex, vertex_count);
DrawBatchVertices(BatchRenderMode::OnlyOpaque, m_batch_base_vertex, vertex_count);
DrawBatchVertices(BatchRenderMode::OnlyTransparent, m_batch_base_vertex, vertex_count);
}
else
{