mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- fixed: screen resolution changes did not notify the 2D drawer.
This commit is contained in:
parent
192ea40634
commit
c6cc763907
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue