SDL: opengles2: Fix point drawing.

From 88ac517df0c65de94f15bf31b5a72d67645ae46a Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 7 Jan 2022 15:03:47 -0500
Subject: [PATCH] opengles2: Fix point drawing.

---
 src/render/opengles2/SDL_render_gles2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/render/opengles2/SDL_render_gles2.c b/src/render/opengles2/SDL_render_gles2.c
index 9465eb0a9c5..3011c2e12d3 100644
--- a/src/render/opengles2/SDL_render_gles2.c
+++ b/src/render/opengles2/SDL_render_gles2.c
@@ -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++;
     }