mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 05:41:45 +00:00
Visual Mode: fixed an issue where the crosshair was distorted after the viewport was resized. Fixes #321. Fixes #777
This commit is contained in:
parent
3fd7f99ba2
commit
b24a2dda84
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue