Visual Mode: fixed an issue where the crosshair was distorted after the viewport was resized. Fixes #321. Fixes #777

This commit is contained in:
biwa 2022-09-03 13:07:16 +02:00
parent 3fd7f99ba2
commit b24a2dda84

View file

@ -281,6 +281,10 @@ namespace CodeImp.DoomBuilder.Rendering
// Make the projection matrix
projection = Matrix.PerspectiveFov(fovy, aspect, PROJ_NEAR_PLANE, General.Settings.ViewDistance);
CreateMatrices2D();
crosshairverts = null;
}
// This creates matrices for a camera view