You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Workaround crash due to null shader when running XR project with --xr-mode off
This commit is contained in:
@@ -5054,6 +5054,7 @@ RID RenderingDeviceVulkan::shader_create_from_bytecode(const Vector<uint8_t> &p_
|
||||
}
|
||||
|
||||
Shader *shader = shader_owner.get_or_null(id);
|
||||
ERR_FAIL_NULL_V(shader, RID());
|
||||
|
||||
shader->vertex_input_mask = vertex_input_mask;
|
||||
shader->fragment_output_mask = fragment_output_mask;
|
||||
|
||||
Reference in New Issue
Block a user