mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:05:47 -04:00
GPU/HW: Draw opaque before semitransparent for reverse subtract
Fixes missing shadows in Suikoden II.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user