mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Clear Viewpointbuffer position so it does not go to infinity
This commit is contained in:
parent
c9791bc148
commit
b83928f437
1 changed files with 2 additions and 0 deletions
|
@ -427,6 +427,8 @@ void videoShowFrame(int32_t w)
|
|||
});
|
||||
screen->Update();
|
||||
screen->mVertexData->Reset();
|
||||
screen->mViewpoints->Clear();
|
||||
|
||||
videoSetBrightness(0); // immediately reset this after rendering so that the value doesn't stick around in the backend.
|
||||
|
||||
// After finishing the frame, reset everything for the next frame. This needs to be done better.
|
||||
|
|
Loading…
Reference in a new issue