mirror of
https://github.com/SFML/SFML.git
synced 2025-03-14 01:40:05 +08:00
In the `ov_read` API, the fouth parameter says what endianness the samples should be returned in - `0` for little-endian, and `1` for big-endian. SFML wants samples in the host endian, so we need to set this parameter to 1 on big-endian systems. Fixes a unit test failure on big-endian systems.