diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-03-21 22:25:25 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-03-31 21:49:42 +1100 |
commit | 36defd1179c3600b824feb1362a3216c353c01aa (patch) | |
tree | 1d65a856d5e6808cdb3bb6449602a00930f09991 /servers/rendering/rendering_server_default.cpp | |
parent | fc4e9d6299593794489a0271bebf2c528aadcc74 (diff) |
Extract global variable, shader and material storage
Diffstat (limited to 'servers/rendering/rendering_server_default.cpp')
-rw-r--r-- | servers/rendering/rendering_server_default.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/rendering_server_default.cpp b/servers/rendering/rendering_server_default.cpp index d5a55c28f5..3969682e15 100644 --- a/servers/rendering/rendering_server_default.cpp +++ b/servers/rendering/rendering_server_default.cpp @@ -400,6 +400,7 @@ RenderingServerDefault::RenderingServerDefault(bool p_create_thread) : RSG::rasterizer = RendererCompositor::create(); RSG::canvas_texture_storage = RSG::rasterizer->get_canvas_texture_storage(); RSG::decal_atlas_storage = RSG::rasterizer->get_decal_atlas_storage(); + RSG::material_storage = RSG::rasterizer->get_material_storage(); RSG::texture_storage = RSG::rasterizer->get_texture_storage(); RSG::storage = RSG::rasterizer->get_storage(); RSG::canvas_render = RSG::rasterizer->get_canvas(); |