Move gameScreen off of the stack and onto the heap

Just so it can be properly used globally like all the other classes.
This commit is contained in:
Misa
2020-06-13 11:44:01 -07:00
committed by Ethan Lee
parent 60a2e100fc
commit 30bcc08bec
3 changed files with 5 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ extern "C"
);
}
Screen::Screen()
void Screen::init()
{
m_window = NULL;
m_renderer = NULL;