mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 12:48:28 +00:00
GLES2 backend: cast with SDL_Vertex and SDL_VertexSolid
This commit is contained in:
parent
4c9966eed6
commit
50d49c63ed
2 changed files with 101 additions and 50 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue