mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
check for overflow vertex indices, fixes issue 6135
thx @ JMC47 for identifying the reversion, creating a useful bug report with fifo log :-)
This commit is contained in:
@ -166,3 +166,10 @@ void IndexGenerator::AddPoints(u32 numVerts)
|
||||
++numP;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
u32 IndexGenerator::GetRemainingIndices()
|
||||
{
|
||||
u32 max_index = 65535;
|
||||
return max_index - index;
|
||||
}
|
||||
|
Reference in New Issue
Block a user