From ed6b6bb7fc6f103821d75292fd928e2431088499 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Thu, 2 Oct 2025 17:02:50 +0000 Subject: [PATCH] Sync SDL3 wiki -> header [ci skip] --- include/SDL3/SDL_hints.h | 6 +++--- include/SDL3/SDL_video.h | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index f83e9600da..aa5d13b286 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -760,9 +760,9 @@ extern "C" { * generated as the browser window is resized, as that will adjust the canvas * size as well. The canvas will cover anything else on the page, including * any controls provided by Emscripten in its generated HTML file. Often times - * this is desirable for a browser-based game, but it means several things that - * we expect of an SDL window on other platforms might not work as expected, - * such as minimum window sizes and aspect ratios. + * this is desirable for a browser-based game, but it means several things + * that we expect of an SDL window on other platforms might not work as + * expected, such as minimum window sizes and aspect ratios. * * This hint overrides SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN * properties when creating an SDL window. diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index e72fe18955..3adebc29a1 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -1357,11 +1357,11 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_CreatePopupWindow(SDL_Window *paren * the canvas element fill the entire document. Resize events will be * generated as the browser window is resized, as that will adjust the * canvas size as well. The canvas will cover anything else on the page, - * including any controls provided by Emscripten in its generated HTML - * file. Often times this is desirable for a browser-based game, but it - * means several things that we expect of an SDL window on other platforms - * might not work as expected, such as minimum window sizes and aspect - * ratios. Default false. + * including any controls provided by Emscripten in its generated HTML file. + * Often times this is desirable for a browser-based game, but it means + * several things that we expect of an SDL window on other platforms might + * not work as expected, such as minimum window sizes and aspect ratios. + * Default false. * - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: override the * binding element for keyboard inputs for this canvas. The variable can be * one of: @@ -1605,9 +1605,9 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetWindowParent(SDL_Window *window) * * - `SDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING`: the id the canvas element * will have - * - `SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN`: true if the - * canvas is set to consume the entire browser window, bypassing some SDL - * window functionality. + * - `SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN`: true if the canvas is + * set to consume the entire browser window, bypassing some SDL window + * functionality. * - `SDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: the keyboard * element that associates keyboard events to this window *