mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00:00
Fixed Windows RT build
This commit is contained in:
parent
a71489221b
commit
b2e76d860f
13 changed files with 28 additions and 19 deletions
|
@ -190,7 +190,7 @@ static int
|
|||
SW_QueueDrawPoints(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_FPoint * points, int count)
|
||||
{
|
||||
SDL_Point *verts = (SDL_Point *) SDL_AllocateRenderVertices(renderer, count * sizeof (SDL_Point), 0, &cmd->data.draw.first);
|
||||
size_t i;
|
||||
int i;
|
||||
|
||||
if (!verts) {
|
||||
return -1;
|
||||
|
@ -219,7 +219,7 @@ static int
|
|||
SW_QueueFillRects(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_FRect * rects, int count)
|
||||
{
|
||||
SDL_Rect *verts = (SDL_Rect *) SDL_AllocateRenderVertices(renderer, count * sizeof (SDL_Rect), 0, &cmd->data.draw.first);
|
||||
size_t i;
|
||||
int i;
|
||||
|
||||
if (!verts) {
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue