diff options
author | BastiaanOlij <mux213@gmail.com> | 2017-11-04 11:50:05 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2017-11-13 22:08:43 +1100 |
commit | 9d3f8418ca252a4047b3818f16ed22228c1d0071 (patch) | |
tree | 76524415f0affb0172b8437b96e7d0c51d8db389 /modules/mobile_vr | |
parent | 2fce0010f0d0eb2476028ed62335508bceabd820 (diff) |
Removed add/remove interface bindings and added get_interfaces
Diffstat (limited to 'modules/mobile_vr')
-rw-r--r-- | modules/mobile_vr/mobile_interface.cpp | 2 | ||||
-rw-r--r-- | modules/mobile_vr/mobile_interface.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/mobile_vr/mobile_interface.cpp b/modules/mobile_vr/mobile_interface.cpp index dccdcd3070..3a0b83d534 100644 --- a/modules/mobile_vr/mobile_interface.cpp +++ b/modules/mobile_vr/mobile_interface.cpp @@ -323,7 +323,7 @@ void MobileVRInterface::uninitialize() { }; }; -Size2 MobileVRInterface::get_recommended_render_targetsize() { +Size2 MobileVRInterface::get_render_targetsize() { _THREAD_SAFE_METHOD_ // we use half our window size diff --git a/modules/mobile_vr/mobile_interface.h b/modules/mobile_vr/mobile_interface.h index 747377ae46..b652edc1c6 100644 --- a/modules/mobile_vr/mobile_interface.h +++ b/modules/mobile_vr/mobile_interface.h @@ -137,7 +137,7 @@ public: virtual bool initialize(); virtual void uninitialize(); - virtual Size2 get_recommended_render_targetsize(); + virtual Size2 get_render_targetsize(); virtual bool is_stereo(); virtual Transform get_transform_for_eye(ARVRInterface::Eyes p_eye, const Transform &p_cam_transform); virtual CameraMatrix get_projection_for_eye(ARVRInterface::Eyes p_eye, real_t p_aspect, real_t p_z_near, real_t p_z_far); |