mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
add const where applicable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user