I was wrong! Win32 GDI uses BGR colors!
Here is another assertion on the path of assertiveness (germ. Durchsetzungsvermögen)
#include <windows.h>
#include <assert.h>
int main()
{
COLORREF color_rgb = 0xBBAADD;
assert(color_rgb == RGB(0xBB, 0xAA, 0xDD));
}
Cheers!
No comments:
Post a Comment