reset right GET_RUN_TIME_MS

Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
This commit is contained in:
Vincent-FK 2020-03-14 12:37:46 +01:00
parent 290d160677
commit c87a50d52b

View File

@ -56,8 +56,8 @@
#include <SDL/SDL_thread.h>
#endif
//#define GET_RUN_TIME_MS (clock() / (CLOCKS_PER_SEC/1000))
#define GET_RUN_TIME_MS (SDL_GetTicks())
#define GET_RUN_TIME_MS (clock() / (CLOCKS_PER_SEC/1000))
//#define GET_RUN_TIME_MS (SDL_GetTicks())
//#define PERIOD_FORCE_REFRESH 1000 //ms
#define FPS 60 // TODO: set in conf file