mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
clear the rom mesh buffer
This commit is contained in:
parent
4992e59673
commit
ffaed8ae32
|
@ -176,6 +176,7 @@ void CNew3D::RenderFrame(void)
|
|||
//we will lose rom models for 1 frame is this happens, not the end of the world, as probably won't ever happen anyway
|
||||
if (m_polyBufferRom.size() >= MAX_ROM_POLYS) {
|
||||
m_polyBufferRom.clear();
|
||||
m_romMap.clear();
|
||||
m_vbo.Reset();
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue