diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-03 15:34:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 15:34:29 +0200 |
commit | 874e3b4a37f68d12341d172fe7c6076cce4de517 (patch) | |
tree | 64c3778299810f2d601ba141628aae37a20b859b /modules | |
parent | f8484bb77d6ddf1f5078d804a8abff3d106d6cab (diff) | |
parent | d952126caf35fbc58db6976e6cc8be8baba95638 (diff) |
Merge pull request #22676 from akien-mga/fix-warnings
Fix warnings in Android platform
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mobile_vr/mobile_vr_interface.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/mobile_vr/mobile_vr_interface.cpp b/modules/mobile_vr/mobile_vr_interface.cpp index b9a404709e..87e4ddd900 100644 --- a/modules/mobile_vr/mobile_vr_interface.cpp +++ b/modules/mobile_vr/mobile_vr_interface.cpp @@ -398,7 +398,6 @@ void MobileVRInterface::commit_for_eye(ARVRInterface::Eyes p_eye, RID p_render_t ERR_FAIL_COND(p_screen_rect == Rect2()); Rect2 dest = p_screen_rect; - float aspect_ratio = 0.5 * p_screen_rect.size.x / p_screen_rect.size.y; Vector2 eye_center; // we output half a screen |