I have a COLORREF DWORD value (0x00bbggrr) that I want to convert to a D3DCOLOR DWORD value (0x00rrggbb). As you can see the 2nd and 4th bytes need to be exchanged.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.