SDL: include/SDL_system.h: Fixed a link that was still hg.libsdl.org

From 7ce311beadd3480d02283a080eb1b50a7e92a250 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 25 May 2022 10:43:14 -0400
Subject: [PATCH] include/SDL_system.h: Fixed a link that was still
 hg.libsdl.org

---
 include/SDL_system.h | 2 +-
 include/SDL_video.h  | 9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/include/SDL_system.h b/include/SDL_system.h
index c540e474851..bbe8d45586d 100644
--- a/include/SDL_system.h
+++ b/include/SDL_system.h
@@ -178,7 +178,7 @@ extern DECLSPEC int SDLCALL SDL_LinuxSetThreadPriorityAndPolicy(Sint64 threadID,
  * This function is only available on Apple iOS.
  *
  * For more information see:
- * [README-ios.md](https://hg.libsdl.org/SDL/file/default/docs/README-ios.md)
+ * https://github.com/libsdl-org/SDL/blob/main/docs/README-ios.md
  *
  * This functions is also accessible using the macro
  * SDL_iOSSetAnimationCallback() since SDL 2.0.4.
diff --git a/include/SDL_video.h b/include/SDL_video.h
index 922ef2c7ba9..1aa0cc24b95 100644
--- a/include/SDL_video.h
+++ b/include/SDL_video.h
@@ -2009,11 +2009,10 @@ extern DECLSPEC void SDLCALL SDL_GL_GetDrawableSize(SDL_Window * window, int *w,
  * retry the call with 1 for the interval.
  *
  * Adaptive vsync is implemented for some glX drivers with
- * [https://www.khronos.org/registry/OpenGL/extensions/EXT/GLX_EXT_swap_contro
- * l_tear.txt GLX_EXT_swap_control_tear] (khronos.org), and for some Windows
- * drivers with
- * [https://www.khronos.org/registry/OpenGL/extensions/EXT/WGL_EXT_swap_contro
- * l_tear.txt WGL_EXT_swap_control_tear].
+ * [GLX_EXT_swap_control_tear](https://www.khronos.org/registry/OpenGL/extensions/EXT/GLX_EXT_swap_control_tear.txt)
+ * , and for some Windows drivers with
+ * [WGL_EXT_swap_control_tear](https://www.khronos.org/registry/OpenGL/extensions/EXT/WGL_EXT_swap_control_tear.txt)
+ * .
  *
  * Read more on the Khronos wiki:
  * https://www.khronos.org/opengl/wiki/Swap_Interval#Adaptive_Vsync