Add buffer synchronisation for GLES when using mapped buffers.
This commit is contained in:
parent
76875f0a3c
commit
db59a4f9af
5 changed files with 37 additions and 6 deletions
|
|
@ -240,11 +240,13 @@ void OpenGLFrameBuffer::Swap()
|
|||
Finish.Reset();
|
||||
Finish.Clock();
|
||||
|
||||
mVertexData->DropSync();
|
||||
|
||||
FPSLimit();
|
||||
SwapBuffers();
|
||||
|
||||
mVertexData->NextPipelineBuffer();
|
||||
mVertexData->WaitSync();
|
||||
|
||||
RenderState()->SetVertexBuffer(screen->mVertexData); // Needed for Raze because it does not reset it
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue