diff options
Diffstat (limited to 'platform.c')
-rw-r--r-- | platform.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -187,6 +187,10 @@ static int ww, wh, bb_pitch, ntw, nth; static int to_sleep, begin_time, end_time; static SDL_Joystick* joysticks[max_joysticks]; +int platform_get_time() { + return SDL_GetTicks(); +} + static void fit_texture(int w, int h) { ntw = renderer_w; nth = renderer_h; |