- fixed: Screen size update coordinates were copied into the wrong buffer location.

This commit is contained in:
Christoph Oelckers 2016-09-28 09:25:48 +02:00
commit b75395aa74
2 changed files with 4 additions and 2 deletions

View file

@ -189,7 +189,9 @@ void OpenGLFrameBuffer::Update()
int clientHeight = GetClientHeight();
if (clientWidth > 0 && clientHeight > 0 && (Width != clientWidth || Height != clientHeight))
{
Resize(clientWidth, clientHeight);
// Do not call Resize here because it's only for software canvases
Pitch = Width = clientWidth;
Height = clientHeight;
V_OutputResized(Width, Height);
GLRenderer->mVBO->OutputResized(Width, Height);
}