diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-12 23:22:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 23:22:02 +0100 |
commit | bbc6543172b3a55534e2a8ae3d31349f71d277c6 (patch) | |
tree | c3928614bd8a459d157461e0911402e817d4b638 /servers | |
parent | d11f9f4817c04ad404857757896d28540c6b1f86 (diff) | |
parent | 6961ed21bb6e1ce082eef33ebcd5b9cfed270634 (diff) |
Merge pull request #7763 from Limb/fixwindowscompile
Fixed compilation issues with Visual Studio
Diffstat (limited to 'servers')
-rw-r--r-- | servers/visual/visual_server_scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/visual_server_scene.cpp b/servers/visual/visual_server_scene.cpp index 297413effd..c54f3dbca5 100644 --- a/servers/visual/visual_server_scene.cpp +++ b/servers/visual/visual_server_scene.cpp @@ -2967,7 +2967,7 @@ void VisualServerScene::_bake_gi_downscale_light(int p_idx, int p_level, const G } - divisor=Math::lerp(8.0,divisor,p_propagate); + divisor=Math::lerp((float)8.0,divisor,p_propagate); sum[0]/=divisor; sum[1]/=divisor; sum[2]/=divisor; |