Fixed Windows RT build
This commit is contained in:
parent
1012683362
commit
2085fa0bd7
13 changed files with 28 additions and 19 deletions
|
@ -533,7 +533,7 @@ static int
|
|||
GLES_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;
|
||||
|
@ -552,7 +552,7 @@ static int
|
|||
GLES_QueueFillRects(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_FRect * rects, int count)
|
||||
{
|
||||
GLfloat *verts = (GLfloat *) SDL_AllocateRenderVertices(renderer, count * 8 * 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