diff options
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -291,12 +291,14 @@ Game *game_new(int width, int height, GameOptions gameopts) { g->frames = 0; g->t_fps = SDL_GetTicks(); g->fps = 0; + g->query_this_frame = 1; + g->time_to_render = 0; g->fuel = 1.0; g->radiation = 0.1; g->platform_rel_x = 0.0; g->platform_rel_y = 0.0; g->time_of_landing_event = -1500.0; /* Force the platform recharge ripple to be 'bright' */ - + /* Renderer setup */ g->render = render_setup(width, height, gameopts.disable_vbos, gameopts.disable_fbos, gameopts.disable_shaders); if ( g->render == NULL ) { |