Make title banner transpare
This commit is contained in:
parent
ca60c61ce6
commit
303f1d4511
1
main.cpp
1
main.cpp
|
@ -28,7 +28,6 @@ int main(int argc, char** argv)
|
|||
if (!tmpstate->init()) return 1;
|
||||
state_stack.push(tmpstate);
|
||||
|
||||
|
||||
while (!state_stack.empty())
|
||||
{
|
||||
GameState* state = state_stack.top();
|
||||
|
|
|
@ -39,6 +39,10 @@ bool TitleScreen::init()
|
|||
debug("TitleScreen::init(): error: Couldn't load title banner");
|
||||
return false;
|
||||
}
|
||||
|
||||
DrawUtils::transpare(title_banner);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user