SDL: Fix warning

From 3d5fcb5da64c89fc4a597ef8e11f3b52c13f48ef Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Thu, 16 Dec 2021 11:10:07 +0100
Subject: [PATCH] Fix warning

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

diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index d04cc8a11cd..38e359bfef5 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -3585,11 +3585,11 @@ SDL_RenderGeometry(SDL_Renderer *renderer,
                                const int *indices, int num_indices)
 {
     if (vertices) {
-        const float *xy = &vertices->position;
+        const float *xy = &vertices->position.x;
         int xy_stride = sizeof (SDL_Vertex);
         const SDL_Color *color = &vertices->color;
         int color_stride = sizeof (SDL_Vertex);
-        const float *uv = &vertices->tex_coord;
+        const float *uv = &vertices->tex_coord.x;
         int uv_stride = sizeof (SDL_Vertex);
         int size_indices = 4;
         return SDL_RenderGeometryRaw(renderer, texture, xy, xy_stride, color, color_stride, uv, uv_stride, num_vertices, indices, num_indices, size_indices);