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
/
game.cc
diff --git
a/src/game.cc
b/src/game.cc
index
230c619
..
9d69c69
100644
(file)
--- a/
src/game.cc
+++ b/
src/game.cc
@@
-22,8
+22,6
@@
bool game_init()
glEnable(GL_FRAMEBUFFER_SRGB);
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
glEnable(GL_FRAMEBUFFER_SRGB);
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
- glEnable(GL_LIGHTING);
- glEnable(GL_LIGHT0);
active_screen->start();
return true;
active_screen->start();
return true;
@@
-43,7
+41,7
@@
void game_draw()
void game_reshape(int x, int y)
{
void game_reshape(int x, int y)
{
- active_screen->draw();
+ active_screen->reshape(x, y);
}
void game_keyboard(int key, bool pressed)
}
void game_keyboard(int key, bool pressed)