Fixed build warnings

This commit is contained in:
Sam Lantinga
2021-11-07 11:19:07 -08:00
parent e14358265e
commit 637bcd0b72
2 changed files with 11 additions and 14 deletions

View File

@@ -1029,13 +1029,6 @@ METAL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture)
}}
// normalize a value from 0.0f to len into 0.0f to 1.0f.
static inline float
normtex(const float _val, const float len)
{
return _val / len;
}
static int
METAL_QueueSetViewport(SDL_Renderer * renderer, SDL_RenderCommand *cmd)
{