You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Ensure has_os_features is safely called as it can't be called from within the construct of RenderingServerDefault on which it relies
This commit is contained in:
@@ -2821,7 +2821,9 @@ RenderingServer::RenderingServer() {
|
||||
|
||||
thread_pool = memnew(RendererThreadPool);
|
||||
singleton = this;
|
||||
}
|
||||
|
||||
void RenderingServer::init() {
|
||||
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_bptc", false);
|
||||
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc", true);
|
||||
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc", false);
|
||||
|
||||
Reference in New Issue
Block a user