GLES2 backend: cast with SDL_Vertex and SDL_VertexSolid

This commit is contained in:
Sylvain 2021-12-16 10:52:36 +01:00 committed by Sam Lantinga
parent 4c9966eed6
commit 50d49c63ed
2 changed files with 101 additions and 50 deletions

View file

@ -107,6 +107,13 @@ typedef struct SDL_RenderCommand
} SDL_RenderCommand;
typedef struct SDL_VertexSolid
{
SDL_FPoint position;
SDL_Color color;
} SDL_VertexSolid;
/* Define the SDL renderer structure */
struct SDL_Renderer
{