mirror of https://github.com/encounter/SDL.git
Fix build issue
This commit is contained in:
parent
7266cf66c7
commit
e17a3154ed
|
@ -722,10 +722,10 @@ PSP_QueueCopyEx(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * t
|
||||||
|
|
||||||
MathSincos(degToRad(angle), &s, &c);
|
MathSincos(degToRad(angle), &s, &c);
|
||||||
|
|
||||||
float cw = c * width;
|
cw = c * width;
|
||||||
float sw = s * width;
|
sw = s * width;
|
||||||
float ch = c * height;
|
ch = c * height;
|
||||||
float sh = s * height;
|
sh = s * height;
|
||||||
|
|
||||||
if (flip & SDL_FLIP_VERTICAL) {
|
if (flip & SDL_FLIP_VERTICAL) {
|
||||||
Swap(&v0, &v1);
|
Swap(&v0, &v1);
|
||||||
|
|
Loading…
Reference in New Issue