isle-portable/3rdparty/sdl3-shim/SDL3/SDL_timer.h
2025-10-21 16:11:17 -04:00

12 lines
292 B
C

#pragma once
#include <SDL2/SDL_timer.h>
// https://wiki.libsdl.org/SDL3/README-migration#sdl_timerh
// https://wiki.libsdl.org/SDL3/README-migration#sdl_timerh | SDL_GetTicksNS()
#define SDL_GetTicksNS SDL_GetTicks
// time is in miliseconds not nanoseconds
#define SDL_NS_TO_MS(MS) (MS)