projects
/
ld42_outofspace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
placing white holes, and changed to n-body gravitational pull instead of
[ld42_outofspace]
/
src
/
screen.cc
diff --git
a/src/screen.cc
b/src/screen.cc
index
1870796
..
a0aea2f
100644
(file)
--- a/
src/screen.cc
+++ b/
src/screen.cc
@@
-1,4
+1,5
@@
#include "screen.h"
+#include "game.h"
ScreenBase *active_screen;
MenuScreen *scr_menu;
@@
-35,6
+36,7
@@
void push_screen(ScreenBase *scr)
scr->next = active_screen;
active_screen = scr;
+ scr->reshape(win_width, win_height);
scr->start();
}