dasyatid1: “delta prime” (delta prime)
[personal profile] dasyatid1

In the current function body of com.dasyatidae.sidereal.sdl2-cffi:make-basic-pixel-format: “There's a bit of a clash here. The way the values are defined in the header file use bitfields like this, but not all combinations that you'd expect to be valid work. In particular, there's the endianness-dependent SDL_PIXELFORMAT_RGBA32 and its companions. You'd think from the name that this maps to :array-u8 :rgba, but in fact they're defined within the fuller enum as packed types within a uint32, and functions like SDL_PixelFormatEnumToMasks don't recognize a synthesized array version even though they work on SDL_PIXELFORMAT_RGB24 which is defined as an array pixel format. But it'd be horrible to replicate the entire valid list, too. Bummer.”

Really it may yet just be more authentic to replicate the entire valid list, but…

This User

dasyatid1: “delta prime” (Default)
Robin Tarsiger

Style Credit

Powered by Dreamwidth Studios