mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-24 00:21:06 +00:00
Reset vertex data pointers for Raze
This commit is contained in:
parent
184a4bd595
commit
ee3fece5c4
1 changed files with 2 additions and 0 deletions
|
@ -268,6 +268,8 @@ void OpenGLFrameBuffer::Swap()
|
|||
mVertexData->NextPipelineBuffer();
|
||||
mVertexData->WaitSync();
|
||||
|
||||
RenderState()->SetVertexBuffer(screen->mVertexData); // Needed for Raze because it does not reset it
|
||||
|
||||
//if (!swapbefore) glFinish();
|
||||
Finish.Unclock();
|
||||
camtexcount = 0;
|
||||
|
|
Loading…
Reference in a new issue