diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-03-12 22:19:59 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-03-16 17:43:10 +1100 |
commit | 57e5a33623130ead5aeb5369c7a40410a1afc79b (patch) | |
tree | 8fce4bd039eb7dea19bc334e4cc0feb158a6a6ef /servers/rendering/rendering_server_default.cpp | |
parent | cfd21adf64087c750dde89191bcfcf4d166adc85 (diff) |
Split dummy renderer classes into separate files
Split canvas_texture_storage and texture_storage from render_storage class
Diffstat (limited to 'servers/rendering/rendering_server_default.cpp')
-rw-r--r-- | servers/rendering/rendering_server_default.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/rendering_server_default.cpp b/servers/rendering/rendering_server_default.cpp index d93aad5d7b..af02e25cd9 100644 --- a/servers/rendering/rendering_server_default.cpp +++ b/servers/rendering/rendering_server_default.cpp @@ -398,6 +398,8 @@ RenderingServerDefault::RenderingServerDefault(bool p_create_thread) : RendererSceneCull *sr = memnew(RendererSceneCull); RSG::scene = sr; RSG::rasterizer = RendererCompositor::create(); + RSG::canvas_texture_storage = RSG::rasterizer->get_canvas_texture_storage(); + RSG::texture_storage = RSG::rasterizer->get_texture_storage(); RSG::storage = RSG::rasterizer->get_storage(); RSG::canvas_render = RSG::rasterizer->get_canvas(); sr->set_scene_render(RSG::rasterizer->get_scene()); |