Comment 2 for bug 1669098

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

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:
     inline const COLOR4D& GetBackgroundColor() const
     {
+ static const COLOR4D red = RED;
+ return *&red;
         return m_backgroundColor;
     }

Red in Cairo, still black in GL :(