mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: when resizing the viewpoint buffer, the 2D entry must be reset so that for the next frame it gets recalculated.
This commit is contained in:
parent
3698a5edc1
commit
213dfd2aaa
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ void GLViewpointBuffer::CheckSize()
|
|||
mBufferSize *= 2;
|
||||
mByteSize *= 2;
|
||||
mBuffer->Resize(mByteSize);
|
||||
m2DHeight = m2DWidth = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue