Fixed: redraw grid after window size changes

This commit is contained in:
ZZYZX 2019-12-25 17:26:30 +02:00
parent 9453c0f8ae
commit 60d836dc85

View file

@ -379,6 +379,14 @@ namespace CodeImp.DoomBuilder.Rendering
lastgridx = 0.0f;
lastgridy = 0.0f;
UpdateTransformations();
if (General.Map != null && General.Map.Config != null)
{
// [ZZ] old texture is Gone here. Redraw
StartPlotter(true);
gridplotter.DrawContents(graphics);
plotter.DrawContents(graphics);
}
}
// This makes screen vertices for display