mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
I can't get that code to compile in GCC, but my best guess is that logo is an ImageBuffer - When DrawImage is called it converted to an Image and this clears the ImageBuffer so that next Refresh it is empty.
Try changing logo to an Image and doing:
ImageBuffer ib(150,30);
RGBA *pixel = ~ib;
...
logo = ib;