Files
SDL/src
Simon McVittie 04edb38cdf shape: Use SDL[Test]_ReadSurfacePixel
This avoids assuming that the pixels are suitably aligned for direct
access, which there's no guarantee that they are; in particular,
3-bytes-per-pixel RGB images are likely to have 3 out of 4 pixels
misaligned. On x86, dereferencing a misaligned pointer does what you
would expect, but on other architectures it's undefined whether it will
work, crash with SIGBUS, or silently give a wrong answer.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2023-10-10 03:23:20 -07:00
..
2023-07-03 12:46:47 -07:00
2023-09-30 16:41:31 -04:00
2023-09-25 18:02:40 +02:00
2023-08-08 22:25:04 -07:00
2023-05-26 08:33:15 -07:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00