1. pygame
  2. Untitled project
  3. pygame

Commits

illume  committed 165722b

initialise timepassed and rawpassed to 0 in time.c

  • Participants
  • Parent commits a4ed30e
  • Branches default

Comments (0)

Files changed (1)

File src/time.c

View file
     }
     
     _clock->fps_tick = 0;
+    _clock->timepassed = 0;
+    _clock->rawpassed = 0;
     _clock->last_tick = SDL_GetTicks ();
     _clock->fps = 0.0f;
     _clock->fps_count = 0;