1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Improve handling of rendering startup errors

This commit is contained in:
Pedro J. Estébanez
2024-06-28 17:17:20 +02:00
parent 811ce36c60
commit 32d9c93af3
6 changed files with 42 additions and 7 deletions

View File

@@ -5507,7 +5507,7 @@ Error RenderingDevice::initialize(RenderingContextDriver *p_context, DisplayServ
for (uint32_t i = 0; i < frames.size(); i++) {
// Staging was never used, create a block.
err = _insert_staging_block();
ERR_CONTINUE(err != OK);
ERR_FAIL_COND_V(err, FAILED);
}
draw_list = nullptr;