Fixed bug #3070 - SDL_RenderCopyEx rotation and global scaling around the wrong way (software renderer)

This commit is contained in:
Sylvain 2022-02-15 11:33:56 +01:00
parent e366ad1288
commit 18b76fcc5d
No known key found for this signature in database
GPG key ID: 5F87E02E5BC0939E
3 changed files with 39 additions and 19 deletions

View file

@ -143,7 +143,7 @@ struct SDL_Renderer
const SDL_Rect * srcrect, const SDL_FRect * dstrect);
int (*QueueCopyEx) (SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture,
const SDL_Rect * srcquad, const SDL_FRect * dstrect,
const double angle, const SDL_FPoint *center, const SDL_RendererFlip flip);
const double angle, const SDL_FPoint *center, const SDL_RendererFlip flip, float scale_x, float scale_y);
int (*QueueGeometry) (SDL_Renderer *renderer, SDL_RenderCommand *cmd, SDL_Texture *texture,
const float *xy, int xy_stride, const SDL_Color *color, int color_stride, const float *uv, int uv_stride,
int num_vertices, const void *indices, int num_indices, int size_indices,