diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-25 11:58:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 11:58:11 +0200 |
commit | 2a8a59eac0f1bbec83d4d04cac9f428487a0d738 (patch) | |
tree | 2157489e9492ee965a832b345f17feddb8e012fa /servers/rendering/renderer_rd/renderer_storage_rd.h | |
parent | 6b11d8cc7373a8d88d09d9c46bc2f33a6643567a (diff) | |
parent | 1f695828351dd51a86ab1499176a1edbab273cc8 (diff) |
Merge pull request #50644 from BastiaanOlij/mobile_compute_to_fragment
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_storage_rd.h')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_storage_rd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.h b/servers/rendering/renderer_rd/renderer_storage_rd.h index f471874c8e..b290c07705 100644 --- a/servers/rendering/renderer_rd/renderer_storage_rd.h +++ b/servers/rendering/renderer_rd/renderer_storage_rd.h @@ -1290,7 +1290,7 @@ private: void _update_global_variables(); /* EFFECTS */ - EffectsRD effects; + EffectsRD *effects = NULL; public: virtual bool can_create_resources_async() const; @@ -2374,6 +2374,7 @@ public: static RendererStorageRD *base_singleton; + void init_effects(bool p_prefer_raster_effects); EffectsRD *get_effects(); RendererStorageRD(); |