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-08 16:22:41 -04:00
2025-09-30 19:39:39 -07:00
2025-10-15 11:35:02 -03:00
2025-10-10 12:08:08 -04:00
2024-12-17 23:59:16 +01:00
2025-03-07 17:33:47 -06:00
2025-09-23 12:08:51 -05:00
2025-09-23 12:08:51 -05:00
2025-09-30 19:39:39 -07:00
2025-09-30 19:39:39 -07:00
2025-03-13 15:41:44 +11:00
2025-04-25 14:25:06 +02:00
2025-04-25 14:25:06 +02:00
2025-10-13 17:31:01 +02:00
2025-10-08 16:22:41 -04:00
2025-10-03 12:01:13 -05:00
2025-10-03 12:01:13 -05:00
2025-10-13 17:31:01 +02:00
2025-10-13 17:31:01 +02:00
2025-10-06 20:15:07 +03:00
2025-10-06 20:15:07 +03:00
2025-09-30 19:39:39 -07:00
2025-05-27 12:45:27 -03:00
2025-03-13 01:28:46 +08:00
2025-09-30 06:40:14 +10:00
2025-10-07 22:26:32 +02:00
2025-05-27 12:45:27 -03:00
2025-10-16 06:46:51 +11:00
2025-10-15 11:35:02 -03:00
2025-09-10 05:19:36 -05:00
2025-06-18 12:31:48 +02:00
2025-10-21 15:26:26 +02:00
2025-10-16 13:47:18 -03:00
2025-01-09 16:46:51 +01:00
2025-03-07 17:33:47 -06:00
2025-10-08 16:22:41 -04:00
2025-03-07 17:33:47 -06:00
2025-09-30 16:52:25 -07:00
2025-10-13 19:28:56 -05:00
2025-03-07 17:33:47 -06:00
2025-09-30 19:39:39 -07:00
2025-10-16 17:26:48 -04:00
2025-10-13 19:28:56 -05:00
2025-10-02 10:02:18 +10:00
2025-09-30 06:40:14 +10:00
2025-06-09 14:39:35 -03:00
2025-10-04 00:19:42 -07:00
2025-09-30 19:39:39 -07:00
2025-03-07 17:33:47 -06:00
2025-10-06 09:06:49 -05:00
2025-06-11 09:59:10 -05:00
2025-06-11 18:13:02 +02:00
2025-03-07 17:33:47 -06:00
2025-06-22 23:41:03 -07:00
2025-09-30 19:39:39 -07:00
2025-10-05 00:26:11 +02:00
2025-03-07 17:33:47 -06:00