Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Also set the RGBA pixel format correctly as the native endian format, which is what it returns. This fixes the tests on big endian. Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>