Lars Müller
15e8f9e6a0
Fix rendering regression with TGA type 1 files with BGRA8 color ( #15402 )
...
TGA uses BGR(A)8, stored in memory in that order. Irrlicht typically expects 0xAARRGGBB, which depends on endianness.
(This means that on little endian, no [B][G][R][A] -> 0xAARRGGBB conversion needs to be done, but Irrlicht was swapping the bytes.)
This makes both conversion functions consistently convert from [B][G][R]([A]) to 0xAARRGGBB (SColor), documents them properly and moves them to CImageLoaderTGA.cpp
so no poor soul shall be fooled by them in the near future.
---------
Co-authored-by: Ælla Chiana Moskopp <erle@dieweltistgarnichtso.net>
2024-11-19 13:37:05 +01:00
..
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-10-10 21:39:57 +02:00
2024-10-10 21:39:57 +02:00
2024-08-17 19:49:11 +02:00
2024-08-17 19:49:11 +02:00
2024-08-17 19:49:11 +02:00
2024-10-18 10:58:32 +02:00
2024-03-26 21:39:02 +01:00
2024-09-18 12:18:28 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-11-19 13:37:05 +01:00
2024-11-19 13:37:05 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-10-24 17:52:06 +02:00
2024-10-24 17:52:06 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-09-30 22:41:53 +02:00
2024-03-26 21:39:02 +01:00
2024-10-18 10:58:32 +02:00
2024-09-02 21:50:13 +02:00
2024-08-28 15:38:02 +02:00
2024-08-28 15:38:02 +02:00
2024-11-09 18:13:56 +01:00
2024-10-15 12:19:19 +02:00
2024-10-24 17:52:06 +02:00
2024-10-24 17:52:06 +02:00
2024-06-26 15:25:27 +02:00
2024-06-26 15:25:27 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-09-08 13:53:33 +02:00
2024-09-08 13:53:33 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-11-19 13:37:05 +01:00
2024-09-02 21:50:13 +02:00
2024-10-18 10:58:32 +02:00
2024-10-18 10:58:32 +02:00
2024-10-18 10:58:32 +02:00
2024-03-26 21:39:02 +01:00
2024-11-19 13:37:05 +01:00
2024-03-26 21:39:02 +01:00
2024-10-18 10:58:32 +02:00
2024-03-26 21:39:02 +01:00
2024-10-18 10:58:32 +02:00
2024-03-26 21:39:02 +01:00
2024-11-18 00:02:53 +01:00
2024-10-16 21:37:00 +02:00
2024-03-26 21:39:02 +01:00
2024-11-15 12:18:48 +01:00
2024-11-15 12:18:48 +01:00
2024-10-16 21:37:00 +02:00
2024-11-15 12:18:48 +01:00
2024-11-15 12:18:48 +01:00
2024-11-15 12:18:48 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-09-02 21:50:13 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-11-15 12:21:30 +01:00
2024-03-26 21:39:02 +01:00
2024-09-02 21:50:13 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-10-10 21:39:57 +02:00
2024-03-26 21:39:02 +01:00
2024-09-18 12:18:28 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-09-18 12:18:28 +02:00
2024-09-18 12:18:28 +02:00
2024-11-08 20:43:24 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-04-15 19:27:05 +02:00
2024-11-18 14:06:48 +01:00
2024-03-26 21:39:02 +01:00
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-11-18 14:06:48 +01:00
2024-08-17 19:49:11 +02:00
2024-03-26 21:39:02 +01:00
2024-11-10 17:44:45 +01:00
2024-03-26 21:39:02 +01:00
2024-05-15 19:56:25 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-09-02 21:50:13 +02:00
2024-08-31 11:44:30 +02:00
2024-03-26 21:39:02 +01:00
2024-11-09 18:13:56 +01:00
2024-09-02 21:50:13 +02:00
2024-04-15 19:27:05 +02:00
2024-03-26 21:39:02 +01:00
2024-10-10 21:39:57 +02:00
2024-10-18 10:58:32 +02:00
2024-03-26 21:39:02 +01:00
2024-04-15 17:48:33 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-10-10 21:39:57 +02:00
2024-03-26 21:39:02 +01:00
2024-09-30 22:41:53 +02:00
2024-08-17 19:49:11 +02:00
2024-08-17 19:49:11 +02:00
2024-10-18 10:58:32 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00
2024-09-16 23:12:52 +02:00
2024-03-26 21:39:02 +01:00
2024-03-26 21:39:02 +01:00