Use SDL_bool return type instead of int
Many functions returned an int to indicate their success. For clarity, use SDL_bool instead.
This commit is contained in:
@@ -16,7 +16,7 @@ struct frames {
|
||||
SDL_bool rendering_frame_consumed;
|
||||
};
|
||||
|
||||
int frames_init(struct frames *frames);
|
||||
SDL_bool frames_init(struct frames *frames);
|
||||
void frames_destroy(struct frames *frames);
|
||||
|
||||
void frames_swap(struct frames *frames);
|
||||
|
||||
Reference in New Issue
Block a user