瀏覽代碼

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 4 天之前
父節點
當前提交
1e832c3900
共有 1 個文件被更改,包括 4 次插入23 次删除
  1. 4 23
      include/SDL3/SDL_hints.h

+ 4 - 23
include/SDL3/SDL_hints.h

@@ -3621,32 +3621,13 @@ extern "C" {
  *
  * The variable can be set to the following values:
  *
- * - "0": the metal layer drawable size will not be updated
- *   on the SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED event.
- * - "1": the metal layer drawable size will be updated
- *   on the SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED event. (default)
+ * - "0": the metal layer drawable size will not be updated on the
+ *   SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED event.
+ * - "1": the metal layer drawable size will be updated on the
+ *   SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED event. (default)
  *
  * This hint should be set before SDL_Metal_CreateView called.
  *
- * \since This hint is available since SDL 3.4.0. */
-#define SDL_HINT_VIDEO_METAL_AUTO_RESIZE_DRAWABLE "SDL_VIDEO_METAL_AUTO_RESIZE_DRAWABLE"
-
-/**
- * A variable controlling whether SDL will attempt to automatically set the
- * destination display to a mode most closely matching that of the previous
- * display if an exclusive fullscreen window is moved onto it.
- *
- * The variable can be set to the following values:
- *
- * - "0": SDL will not attempt to automatically set a matching mode on the
- *   destination display. If an exclusive fullscreen window is moved to a new
- *   display, the window will become fullscreen desktop.
- * - "1": SDL will attempt to automatically set a mode on the destination
- *   display that most closely matches the mode of the display that the
- *   exclusive fullscreen window was previously on. (default)
- *
- * This hint can be set anytime.
- *
  * \since This hint is available since SDL 3.4.0.
  */
 #define SDL_HINT_VIDEO_MATCH_EXCLUSIVE_MODE_ON_MOVE "SDL_VIDEO_MATCH_EXCLUSIVE_MODE_ON_MOVE"