Browse Source

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

Ryan C. Gordon 2 years ago
parent
commit
7ce311bead
2 changed files with 5 additions and 6 deletions
  1. 1 1
      include/SDL_system.h
  2. 4 5
      include/SDL_video.h

+ 1 - 1
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.

+ 4 - 5
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