Disable backface culling and use a constant rectangle winding order.

This makes it so we don't have to surface the rectangle winding order for applications that want to use the raw geometry API.
This commit is contained in:
Sam Lantinga 2024-09-30 18:26:20 -07:00
parent fa14b53273
commit 45ad763de5
6 changed files with 8 additions and 43 deletions

View file

@ -259,9 +259,6 @@ struct SDL_Renderer
// The method of drawing lines
SDL_RenderLineMethod line_method;
// List of triangle indices to draw rects
int rect_index_order[6];
// The list of textures
SDL_Texture *textures;
SDL_Texture *target;