mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 15:39:10 +00:00
Move to SDL_RenderGeometryRaw prototype with separate xy/uv/color pointer parameters
This commit is contained in:
parent
111c70e141
commit
e481261173
8 changed files with 167 additions and 67 deletions
|
@ -131,7 +131,9 @@ struct SDL_Renderer
|
|||
const double angle, const SDL_FPoint *center, const SDL_RendererFlip flip);
|
||||
|
||||
int (*QueueGeometry) (SDL_Renderer *renderer, SDL_RenderCommand *cmd, SDL_Texture *texture,
|
||||
SDL_Vertex *vertices, int num_vertices, int *indices, int num_indices, float scale_x, float scale_y);
|
||||
const float *xy, int xy_stride, const int *color, int color_stride, const float *uv, int uv_stride,
|
||||
int num_vertices, const void *indices, int num_indices, int size_indice,
|
||||
float scale_x, float scale_y);
|
||||
|
||||
int (*RunCommandQueue) (SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *vertices, size_t vertsize);
|
||||
int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue