- fixed: screen resolution changes did not notify the 2D drawer.

This commit is contained in:
Christoph Oelckers 2020-05-04 22:14:50 +02:00
parent 192ea40634
commit c6cc763907

View file

@ -289,6 +289,9 @@ void V_UpdateModeSize (int width, int height)
void V_OutputResized (int width, int height)
{
V_UpdateModeSize(width, height);
// set new resolution in 2D drawer
twod->Begin(screen->GetWidth(), screen->GetHeight());
twod->End();
setsizeneeded = true;
C_NewModeAdjust();
if (sysCallbacks && sysCallbacks->OnScreenSizeChanged)