domeengine / dome

A lightweight game development environment where games can be written in Wren

Home Page:https://www.domeengine.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin: DOME_Color.value seems to be ordered as 0xAABBGGRR but docs say It's 0xAARRGGBB

trelemar opened this issue · comments

That's probably just me messing up the order (byte order is always confusing). The only other reason it might be wrong is if your device is a different "endianness" to standard, but that would have resulted in many more problems.

Following up on this, can you check your device architecture for me, so we can figure out which option is correct? Thanks :)

This was on lubuntu 64 bit. I will test with other architectures and try to replicate as well

It's more about the processor than operating system: ARM, AMD and Intel chips all use different byte arrangements in memory. I may have just messed it up on my end when documenting it though.

I've corrected the docs for this, I just need to double check that the DOME_Color struct is correct too.