mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 02:38:27 +00:00
fix a few 'unused but set variable' and 'unused function' warnings
This commit is contained in:
parent
f4d1f5ed54
commit
3d35c08585
3 changed files with 3 additions and 6 deletions
|
@ -900,6 +900,7 @@ SDL_CreateWindowAndRenderer(int width, int height, Uint32 window_flags,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if !SDL_RENDER_DISABLED
|
||||
static SDL_INLINE
|
||||
void VerifyDrawQueueFunctions(const SDL_Renderer *renderer)
|
||||
{
|
||||
|
@ -953,6 +954,7 @@ static void SDL_CalculateSimulatedVSyncInterval(SDL_Renderer *renderer, SDL_Wind
|
|||
}
|
||||
renderer->simulate_vsync_interval = (1000 / refresh_rate);
|
||||
}
|
||||
#endif
|
||||
|
||||
SDL_Renderer *
|
||||
SDL_CreateRenderer(SDL_Window * window, int index, Uint32 flags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue