summaryrefslogtreecommitdiff
path: root/drivers/gles3/storage/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles3/storage/config.cpp')
-rw-r--r--drivers/gles3/storage/config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gles3/storage/config.cpp b/drivers/gles3/storage/config.cpp
index 1f66401427..7b87ce7e4f 100644
--- a/drivers/gles3/storage/config.cpp
+++ b/drivers/gles3/storage/config.cpp
@@ -40,6 +40,10 @@ Config *Config::singleton = nullptr;
Config::Config() {
singleton = this;
should_orphan = true;
+
+ // If this is to early we need to change our code similar to what we're doing in RendererRD,
+ // and instantiate our storage classes when we are ready to do so in the order we want.
+ initialize();
}
Config::~Config() {