diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-01-26 12:25:20 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-01-26 13:55:44 +1100 |
commit | 98e5cd24dbe1151e129883731b26ec8f521ee57f (patch) | |
tree | 2d280f268053d1ea49e3de44ba98b75b62510cd1 /modules/webxr/webxr_interface_js.h | |
parent | b25c7fef04499a7bee2333184bd7e5879d304eee (diff) | |
download | redot-engine-98e5cd24dbe1151e129883731b26ec8f521ee57f.tar.gz |
Improve XRInterface hooks into rendering
Diffstat (limited to 'modules/webxr/webxr_interface_js.h')
-rw-r--r-- | modules/webxr/webxr_interface_js.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webxr/webxr_interface_js.h b/modules/webxr/webxr_interface_js.h index 8eddfbe484..31858194f6 100644 --- a/modules/webxr/webxr_interface_js.h +++ b/modules/webxr/webxr_interface_js.h @@ -88,7 +88,7 @@ public: virtual Transform3D get_camera_transform() override; virtual Transform3D get_transform_for_view(uint32_t p_view, const Transform3D &p_cam_transform) override; virtual CameraMatrix get_projection_for_view(uint32_t p_view, double p_aspect, double p_z_near, double p_z_far) override; - virtual Vector<BlitToScreen> commit_views(RID p_render_target, const Rect2 &p_screen_rect) override; + virtual Vector<BlitToScreen> post_draw_viewport(RID p_render_target, const Rect2 &p_screen_rect) override; virtual void process() override; |