mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 18:58:27 +00:00
Fixed Windows RT build
This commit is contained in:
parent
a71489221b
commit
b2e76d860f
13 changed files with 28 additions and 19 deletions
|
@ -805,7 +805,7 @@ static int
|
|||
GL_QueueDrawPoints(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_FPoint * points, int count)
|
||||
{
|
||||
GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 2 * sizeof (GLfloat), 0, &cmd->data.draw.first);
|
||||
size_t i;
|
||||
int i;
|
||||
|
||||
if (!verts) {
|
||||
return -1;
|
||||
|
@ -824,7 +824,7 @@ static int
|
|||
GL_QueueFillRects(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_FRect * rects, int count)
|
||||
{
|
||||
GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 4 * sizeof (GLfloat), 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