mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
GS: Fix Lines2Sprites buffer growth
This commit is contained in:
committed by
lightningterror
parent
9945046a49
commit
af48193ebb
@@ -222,9 +222,7 @@ void GSRendererHW::Lines2Sprites()
|
||||
|
||||
// each sprite converted to quad needs twice the space
|
||||
|
||||
const int tail = m_vertex->tail * 2;
|
||||
const int max_count = m_vertex->maxcount;
|
||||
while (tail > max_count)
|
||||
while (m_vertex->tail * 2 > m_vertex->max_count)
|
||||
{
|
||||
GrowVertexBuffer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user