- 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:
Christoph Oelckers 2019-03-03 13:26:10 +01:00
parent 3698a5edc1
commit 213dfd2aaa

View file

@ -58,6 +58,7 @@ void GLViewpointBuffer::CheckSize()
mBufferSize *= 2;
mByteSize *= 2;
mBuffer->Resize(mByteSize);
m2DHeight = m2DWidth = -1;
}
}