mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
0810b0d471
commit
69b66ec425
5 changed files with 18 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue