sdl2-compat: add comments as to necessity of mouse coords tap dance.

From 24b947072959eb3bbaf5cbfabd9769ef08a98cd7 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 8 Jan 2023 20:11:32 +0300
Subject: [PATCH] add comments as to necessity of mouse coords tap dance.

---
 src/sdl2_compat.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index e11a5d7..5b09845 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -1266,6 +1266,7 @@ Event3to2(const SDL_Event *event3, SDL2_Event *event2)
     event2->common.type = event3->type;
     event2->common.timestamp = (Uint32) SDL_NS_TO_MS(event3->common.timestamp);
     SDL3_memcpy((&event2->common) + 1, (&event3->common) + 1, sizeof (SDL2_Event) - sizeof (SDL2_CommonEvent));
+    /* mouse coords became floats in SDL3: */
     switch (event3->type) {
     case SDL_MOUSEMOTION:
         event2->motion.x = (Sint32)event3->motion.x;
@@ -1308,6 +1309,7 @@ Event2to3(const SDL2_Event *event2, SDL_Event *event3)
     event3->common.type = event2->type;
     event3->common.timestamp = (Uint64) SDL_MS_TO_NS(event2->common.timestamp);
     SDL3_memcpy((&event3->common) + 1, (&event2->common) + 1, sizeof (SDL_Event) - sizeof (SDL_CommonEvent));
+    /* mouse coords became floats in SDL3: */
     switch (event2->type) {
     case SDL_MOUSEMOTION:
         event3->motion.x = (float)event2->motion.x;
@@ -1558,6 +1560,9 @@ SDL_FilterEvents(SDL2_EventFilter filter2, void *userdata)
     SDL3_FilterEvents(EventFilterWrapper3to2, &wrapperdata);
 }
 
+
+/* mouse coords became floats in SDL3 */
+
 DECLSPEC Uint32 SDLCALL
 SDL_GetMouseState(int *x, int *y)
 {