You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Removes an internal error report if shader fails compile
This commit is contained in:
@@ -142,7 +142,9 @@ public:
|
||||
ERR_FAIL_COND_V(!variants_enabled[p_variant], RID());
|
||||
|
||||
Version *version = version_owner.getornull(p_version);
|
||||
ERR_FAIL_COND_V(!version, RID());
|
||||
if (!version) {
|
||||
return RID();
|
||||
}
|
||||
|
||||
if (version->dirty) {
|
||||
_compile_version(version);
|
||||
|
||||
Reference in New Issue
Block a user