summary refs log tree commit diff stats
path: root/mazeoflife.cpp
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2013-08-28 20:00:58 -0400
committerStarla Insigna <starla4444@gmail.com>2013-08-28 20:00:58 -0400
commit157457f94783d712e6af1a3e29268ab6bcfb8f99 (patch)
tree849e58e6f35e3c3ce5c521211f8107e2070cb0b7 /mazeoflife.cpp
parent887056394ce576cc2fa919f6074dda0943ff195d (diff)
downloadmazeoflife-157457f94783d712e6af1a3e29268ab6bcfb8f99.tar.gz
mazeoflife-157457f94783d712e6af1a3e29268ab6bcfb8f99.tar.bz2
mazeoflife-157457f94783d712e6af1a3e29268ab6bcfb8f99.zip
Title of window changes to match level
Diffstat (limited to 'mazeoflife.cpp')
-rw-r--r--mazeoflife.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mazeoflife.cpp b/mazeoflife.cpp index fda6f74..da19908 100644 --- a/mazeoflife.cpp +++ b/mazeoflife.cpp
@@ -50,7 +50,7 @@ int main(int argc, char *argv[])
50 State* state = new TitleState(); 50 State* state = new TitleState();
51 while (state != NULL) 51 while (state != NULL)
52 { 52 {
53 state = (*state)(renderer); 53 state = (*state)(window, renderer);
54 } 54 }
55 55
56 SDL_DestroyRenderer(renderer); 56 SDL_DestroyRenderer(renderer);