diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-07-12 16:18:30 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-02-11 11:57:34 +0100 |
commit | b456bfad5cee3922f55621bf7c133cc67337636a (patch) | |
tree | d3c77c49894591ea67dac3ad1551e9f36206b9c1 /servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp | |
parent | eb48be51dbe97aa4fbbbe0d0ebd8a98bee6b263e (diff) |
Add runtime GLES2 / Vulkan context selection.
Diffstat (limited to 'servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp')
-rw-r--r-- | servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp b/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp index 11bc423804..35f75ecd9d 100644 --- a/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp +++ b/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp @@ -2094,6 +2094,10 @@ EffectsRD *RasterizerStorageRD::get_effects() { RasterizerStorageRD::RasterizerStorageRD() { + for (int i = 0; i < SHADER_TYPE_MAX; i++) { + shader_data_request_func[i] = NULL; + } + material_update_list = NULL; { //create default textures |