1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Files
godot/servers
Erik Ritschl 44451e6988 Fix incorrect failure code in screen_get_framebuffer_format
RenderingDevice::screen_get_framebuffer_format should return a value of
type RenderingDevice::FramebufferFormatID which is an alias of int64_t
but it returns Error::FAILED with a value of 1. The compiler does not
complain because both types are integers but 1 corresponds to a valid
FramebufferFormatID, meaning a certain failure condition is missed.

This commit changes it to the correct value, INVALID_ID.
2025-10-21 15:26:26 +02:00
..
2025-10-05 04:22:49 +03:00
2025-10-05 04:22:49 +03:00
2025-10-06 09:20:56 -05:00
2025-10-05 04:22:49 +03:00