Looking at scanLine I wonder if we can't do something even lower-level.
We don't actually need to use the QRgb, qRed, qBlue etc values - all we
need to do is take each block of four bytes from the address given by
scanLine and reverse their order. That should be the fastest way I would
think?

I've got to take the dog for his walk right now but I'll have a go in an
hour or so ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/758782

Title:
  Unity 2D Wrong Colours for icons on PowerPC

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to