Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot 2024-10-14 16:02:54 +00:00
parent 0b6ad8bf62
commit b865708039
1 changed files with 4 additions and 2 deletions

View File

@ -2460,11 +2460,13 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowHitTest(SDL_Window *window, SDL_Hi
* This sets the alpha channel of a transparent window and any fully * This sets the alpha channel of a transparent window and any fully
* transparent areas are also transparent to mouse clicks. If you are using * transparent areas are also transparent to mouse clicks. If you are using
* something besides the SDL render API, then you are responsible for drawing * something besides the SDL render API, then you are responsible for drawing
* the alpha channel of the window to match the shape alpha channel to get consistent cross-platform results. * the alpha channel of the window to match the shape alpha channel to get
* consistent cross-platform results.
* *
* The shape is copied inside this function, so you can free it afterwards. If * The shape is copied inside this function, so you can free it afterwards. If
* your shape surface changes, you should call SDL_SetWindowShape() again to * your shape surface changes, you should call SDL_SetWindowShape() again to
* update the window. This is an expensive operation, so should be done sparingly. * update the window. This is an expensive operation, so should be done
* sparingly.
* *
* The window must have been created with the SDL_WINDOW_TRANSPARENT flag. * The window must have been created with the SDL_WINDOW_TRANSPARENT flag.
* *