SDL: Fixed drop event coordinate conversion

From 518b070aa94b64e7294c3ca7b19135a6852c3d85 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 16 Jan 2024 14:07:42 -0800
Subject: [PATCH] Fixed drop event coordinate conversion

---
 src/render/SDL_render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index 7e1920ea729b..a0396323bc0a 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -2496,7 +2496,7 @@ int SDL_ConvertEventToRenderCoordinates(SDL_Renderer *renderer, SDL_Event *event
                event->type == SDL_EVENT_DROP_COMPLETE) {
         SDL_Window *window = SDL_GetWindowFromID(event->drop.windowID);
         if (window == renderer->window) {
-            SDL_RenderCoordinatesFromWindow(renderer, event->drop.x, event->drop.y, &event->wheel.x, &event->wheel.y);
+            SDL_RenderCoordinatesFromWindow(renderer, event->drop.x, event->drop.y, &event->drop.x, &event->drop.y);
         }
     }
     return 0;