diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-10-21 02:06:10 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-10-21 02:06:10 -0500 |
commit | d67e77e837a63e3900f7dae942d8b58a94a94e0c (patch) | |
tree | b7b77501fae9b7b6cdc6762a77a6de382eae129d /servers/visual/visual_server_viewport.h | |
parent | 8bc96cc14690d78435d3c2fb960d416df41af790 (diff) |
Fixed viewport transparent bg when clear mode is enabled.
Diffstat (limited to 'servers/visual/visual_server_viewport.h')
-rw-r--r-- | servers/visual/visual_server_viewport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/visual/visual_server_viewport.h b/servers/visual/visual_server_viewport.h index 8a294a9129..8db6eda133 100644 --- a/servers/visual/visual_server_viewport.h +++ b/servers/visual/visual_server_viewport.h @@ -72,6 +72,8 @@ public: VS::ViewportClearMode clear_mode; + bool transparent_bg; + struct CanvasKey { int layer; @@ -101,6 +103,7 @@ public: Viewport() { update_mode = VS::VIEWPORT_UPDATE_WHEN_VISIBLE; clear_mode = VS::VIEWPORT_CLEAR_ALWAYS; + transparent_bg = false; disable_environment = false; viewport_to_screen = 0; shadow_atlas_size = 0; |