Hello,
I have a simple problem.
In my GameInit I do the following:
Then I use the loaded resource in my GameLoop:
However, I get the entire image drawn, including the sections of the image set to 255,0,255.
The mask doesn't seem to be working.
What have I done wrong?
I have a simple problem.
In my GameInit I do the following:
- Code:
m_hsibackoverlay = Frog::LoadImage(display, IDR_HSIBACKOVERLAY);
m_hsibackoverlay->SetColorMask(Color(255,0,255));
Then I use the loaded resource in my GameLoop:
- Code:
// Erase to black
m_display->Clear(Color(RGB(0,0,0)));
// Draw overlay
m_display->Blit(-23,0,m_hsibackoverlay);
However, I get the entire image drawn, including the sections of the image set to 255,0,255.
The mask doesn't seem to be working.
What have I done wrong?