Why does RGBA[] PALETTE = cast(RGBA[]) [ 0x00, 0x00, 0x00, 0x00, 0xE3, 0x53, 0x00, 0x00,...... ]; work, but RGBA[256] PALETTE = cast(RGBA[256]) [ 0x00, 0x00, 0x00, 0x00, 0xE3, 0x53, 0x00, 0x00,...]; doesn't? RGBA simply is a struct containing r,g,b and a as ubytes.