changed BGRA32 to RGBA32. XXX: clarify expected behaviour on big endian cpu