From 303f1d4511e34b0270fa930caad3ffd60eaec35b Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Thu, 30 Jun 2011 18:16:36 -0400 Subject: [PATCH] Make title banner transpare --- main.cpp | 1 - titlescreen.cpp | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index c6b65ba..6b5ce3b 100644 --- a/main.cpp +++ b/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(); diff --git a/titlescreen.cpp b/titlescreen.cpp index 8cf8886..459e59b 100644 --- a/titlescreen.cpp +++ b/titlescreen.cpp @@ -39,6 +39,10 @@ bool TitleScreen::init() debug("TitleScreen::init(): error: Couldn't load title banner"); return false; } + + DrawUtils::transpare(title_banner); + + return true; }