summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-02-12 23:22:02 +0100
committerGitHub <noreply@github.com>2017-02-12 23:22:02 +0100
commitbbc6543172b3a55534e2a8ae3d31349f71d277c6 (patch)
treec3928614bd8a459d157461e0911402e817d4b638 /servers
parentd11f9f4817c04ad404857757896d28540c6b1f86 (diff)
parent6961ed21bb6e1ce082eef33ebcd5b9cfed270634 (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.cpp2
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;