mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 01:47:41 +00:00
Fixed a few compiler warnings.
This commit is contained in:
parent
29e15ce62d
commit
782f1685ff
2 changed files with 5 additions and 5 deletions
|
@ -173,7 +173,7 @@ typedef struct GLES2_RenderData
|
|||
Uint8 clear_r, clear_g, clear_b, clear_a;
|
||||
|
||||
GLuint vertex_buffers[8];
|
||||
GLsizeiptr vertex_buffer_size[8];
|
||||
size_t vertex_buffer_size[8];
|
||||
int current_vertex_buffer;
|
||||
GLES2_DrawStateCache drawstate;
|
||||
} GLES2_RenderData;
|
||||
|
@ -1286,7 +1286,7 @@ GLES2_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *ver
|
|||
|
||||
case SDL_RENDERCMD_DRAW_POINTS: {
|
||||
if (SetDrawState(data, cmd, GLES2_IMAGESOURCE_SOLID) == 0) {
|
||||
data->glDrawArrays(GL_POINTS, 0, cmd->data.draw.count);
|
||||
data->glDrawArrays(GL_POINTS, 0, (GLsizei) cmd->data.draw.count);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue