Release reserved push vertex memory at end of frame

This commit is contained in:
Henrik Rydgård 2023-05-25 09:28:19 +02:00
parent d37c46d2fc
commit b1d6f96b03

View File

@ -173,6 +173,7 @@ void DrawEngineGLES::BeginFrame() {
void DrawEngineGLES::EndFrame() {
FrameData &frameData = frameData_[render_->GetCurFrame()];
ReleaseReservedPushMemory(frameData);
render_->EndPushBuffer(frameData.pushIndex);
render_->EndPushBuffer(frameData.pushVertex);
tessDataTransferGLES->EndFrame();