Thanks for looking at such a low priority bug so quickly! Unfortunately the fix doesn't work for me :P
To clarify from my "trivial test", since "return RED" makes the compiler complain (I'm not sure if this is defined as an object with static linkage or inline...), I did:
Thanks for looking at such a low priority bug so quickly! Unfortunately the fix doesn't work for me :P
To clarify from my "trivial test", since "return RED" makes the compiler complain (I'm not sure if this is defined as an object with static linkage or inline...), I did:
include/painter.h: lor() const
inline const COLOR4D& GetBackgroundCo
{
+ static const COLOR4D red = RED;
+ return *&red;
return m_backgroundColor;
}
Red in Cairo, still black in GL :(