mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
Fixed bug #6401 - back-end can choose the order the triangles when rendering rects, attempt to fix small glitch rendering.
This commit is contained in:
parent
285cbf6fdd
commit
3d99d31026
3 changed files with 29 additions and 8 deletions
|
@ -248,6 +248,9 @@ struct SDL_Renderer
|
|||
/* The method of drawing lines */
|
||||
SDL_RenderLineMethod line_method;
|
||||
|
||||
/* List of triangle indices to draw rects */
|
||||
int rect_indice_list[6];
|
||||
|
||||
/* Remainder from scaled relative motion */
|
||||
float xrel;
|
||||
float yrel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue