diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-24 17:31:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 17:31:44 +0200 |
commit | 01c41c782bdfc19f9c3854a458c13244f0e8c89d (patch) | |
tree | d97bef050de1e7691ce323e1062f0714adf07bb2 /servers/visual_server.h | |
parent | 193837a8f5bce250e69c4580d157ccba17af70ce (diff) | |
parent | 65c211d30325b4d4573cb049508d3d59ecff6214 (diff) |
Merge pull request #28796 from clayjohn/GLES2-optimization
GLES2: Allow Viewports to render directly to screen
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r-- | servers/visual_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h index 5146ca47f1..01be996bfc 100644 --- a/servers/visual_server.h +++ b/servers/visual_server.h @@ -610,6 +610,7 @@ public: virtual void viewport_set_parent_viewport(RID p_viewport, RID p_parent_viewport) = 0; virtual void viewport_attach_to_screen(RID p_viewport, const Rect2 &p_rect = Rect2(), int p_screen = 0) = 0; + virtual void viewport_set_render_direct_to_screen(RID p_viewport, bool p_enable) = 0; virtual void viewport_detach(RID p_viewport) = 0; enum ViewportUpdateMode { |