mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-17 02:08:27 +00:00
Fixed a few warnings
This commit is contained in:
parent
b793394590
commit
4960cc3dcb
2 changed files with 2 additions and 3 deletions
|
@ -3456,8 +3456,8 @@ SDL_RenderCopyExF(SDL_Renderer * renderer, SDL_Texture * texture,
|
|||
float c_minx, c_miny, c_maxx, c_maxy;
|
||||
|
||||
const float radian_angle = (float)((M_PI * angle) / 180.0);
|
||||
const float s = SDL_sin(radian_angle);
|
||||
const float c = SDL_cos(radian_angle);
|
||||
const float s = SDL_sinf(radian_angle);
|
||||
const float c = SDL_cosf(radian_angle);
|
||||
|
||||
minu = (float) (real_srcrect.x) / (float) texture->w;
|
||||
minv = (float) (real_srcrect.y) / (float) texture->h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue