diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-08-27 12:22:43 +0300 |
---|---|---|
committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-09-01 11:42:57 +0300 |
commit | 8191b3c110260f086de390ff38ccc980474ef755 (patch) | |
tree | 1f64db5b3b8de9c556c50d42c86f9b4bbf0d5660 /main | |
parent | 1c037c89d4345789c17dfa19bf1e8bd67f702f09 (diff) |
Rename `uniform` to `parameter` across the engine
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp index d0170d8093..a0d2f594ac 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2209,7 +2209,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) { // able to load resources, load the global shader variables. // If running on editor, don't load the textures because the editor // may want to import them first. Editor will reload those later. - rendering_server->global_shader_uniforms_load_settings(!editor); + rendering_server->global_shader_parameters_load_settings(!editor); } _start_success = true; @@ -3136,7 +3136,7 @@ void Main::cleanup(bool p_force) { RenderingServer::get_singleton()->sync(); //clear global shader variables before scene and other graphics stuff are deinitialized. - rendering_server->global_shader_uniforms_clear(); + rendering_server->global_shader_parameters_clear(); if (xr_server) { // Now that we're unregistering properly in plugins we need to keep access to xr_server for a little longer |