mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-28 05:58:29 +00:00
opengles2: Fix point drawing.
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user