瀏覽代碼

Sync SDL3 wiki -> header

SDL Wiki Bot 2 年之前
父節點
當前提交
43e3daace3
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      include/SDL3/SDL_main.h
  2. 2 2
      include/SDL3/SDL_video.h

+ 1 - 1
include/SDL3/SDL_main.h

@@ -267,7 +267,7 @@ extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
 /**
  * Callback from the application to let the suspend continue.
  *
- * \since This function is available since SDL 2.28.0.
+ * \since This function is available since SDL 3.0.0.
  */
 extern DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
 

+ 2 - 2
include/SDL3/SDL_video.h

@@ -661,8 +661,8 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window *window);
  * On Apple's macOS, you **must** set the NSHighResolutionCapable Info.plist
  * property to YES, otherwise you will not receive a High-DPI OpenGL canvas.
  *
- *  The window size in pixels may differ from its size in screen coordinates
- * if the window is on a high density display (one with an OS scaling factor).
+ * The window size in pixels may differ from its size in screen coordinates if
+ * the window is on a high density display (one with an OS scaling factor).
  * Use SDL_GetWindowSize() to query the client area's size in screen
  * coordinates, and SDL_GetWindowSizeInPixels() or SDL_GetRendererOutputSize()
  * to query the drawable size in pixels. Note that the drawable size can vary