placing white holes, and changed to n-body gravitational pull instead of
[ld42_outofspace] / src / game.cc
index 230c619..9d69c69 100644 (file)
@@ -22,8 +22,6 @@ bool game_init()
        glEnable(GL_FRAMEBUFFER_SRGB);
        glEnable(GL_DEPTH_TEST);
        glEnable(GL_CULL_FACE);
-       glEnable(GL_LIGHTING);
-       glEnable(GL_LIGHT0);
 
        active_screen->start();
        return true;
@@ -43,7 +41,7 @@ void game_draw()
 
 void game_reshape(int x, int y)
 {
-       active_screen->draw();
+       active_screen->reshape(x, y);
 }
 
 void game_keyboard(int key, bool pressed)