MSVC: Fix several compiler warnings

This commit is contained in:
wmayer
2024-09-11 15:23:18 +02:00
committed by wwmayer
parent 53978bbf30
commit dad175cee9
4 changed files with 7 additions and 3 deletions

View File

@@ -570,7 +570,7 @@ void SimDisplay::UpdateProjection()
shaderLinePath.UpdateProjectionMat(projmat);
shaderLinePath.UpdateObjColor(pathLineColorPassed);
projmat[2][2] *= 0.99999;
projmat[2][2] *= 0.99999F;
shaderGeomCloser.Activate();
shaderGeomCloser.UpdateProjectionMat(projmat);
}