Move SetOutputViewport to OpenGLFrameBuffer::Update as it cannot be safely called from Begin2D
This commit is contained in:
parent
fd4422eb62
commit
f8cc56ea3a
2 changed files with 2 additions and 3 deletions
|
|
@ -187,6 +187,8 @@ void OpenGLFrameBuffer::Update()
|
|||
DrawRateStuff();
|
||||
GLRenderer->Flush();
|
||||
|
||||
GLRenderer->SetOutputViewport(nullptr);
|
||||
|
||||
if (gl_draw_sync || !swapped)
|
||||
{
|
||||
Swap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue