add const where applicable

This commit is contained in:
2025-03-22 17:33:19 +01:00
parent bcbf62b1a7
commit 158686d2af

View File

@@ -34,6 +34,6 @@ static inline void gametime_update(gametime* gt) {
}
// gets how many times the game updates per second
atrb_const static inline float gametime_get_ups(gametime* gt) {
atrb_const static inline float gametime_get_ups(gametime const* gt) {
return 1.0F / gt->delta;
}