summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_default.cpp
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2022-03-21 22:25:25 +1100
committerBastiaan Olij <mux213@gmail.com>2022-03-31 21:49:42 +1100
commit36defd1179c3600b824feb1362a3216c353c01aa (patch)
tree1d65a856d5e6808cdb3bb6449602a00930f09991 /servers/rendering/rendering_server_default.cpp
parentfc4e9d6299593794489a0271bebf2c528aadcc74 (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.cpp1
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();