opengles2: Fix point drawing.

main
Ryan C. Gordon 2022-01-07 15:03:47 -05:00
parent 957c48b4c7
commit 88ac517df0
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 2 additions and 2 deletions

View File

@ -683,8 +683,8 @@ GLES2_QueueDrawPoints(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL
cmd->data.draw.count = count;
for (i = 0; i < count; i++) {
verts->position.y = 0.5f + points[i].x;
verts->position.x = 0.5f + points[i].y;
verts->position.x = 0.5f + points[i].x;
verts->position.y = 0.5f + points[i].y;
verts->color = color;
verts++;
}