|
@@ -287,7 +287,7 @@ typedef enum
|
|
|
* \returns a number >= 1 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetVideoDriver
|
|
|
*/
|
|
@@ -302,7 +302,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumVideoDrivers(void);
|
|
|
* \param index the index of a video driver
|
|
|
* \returns the name of the video driver with the given **index**.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDrivers
|
|
|
*/
|
|
@@ -330,7 +330,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetVideoDriver(int index);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDrivers
|
|
|
* \sa SDL_GetVideoDriver
|
|
@@ -344,7 +344,7 @@ extern DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name);
|
|
|
*
|
|
|
* This function closes all windows, and restores the original video mode.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_VideoInit
|
|
|
*/
|
|
@@ -356,7 +356,7 @@ extern DECLSPEC void SDLCALL SDL_VideoQuit(void);
|
|
|
* \returns the name of the current video driver or NULL if no driver has been
|
|
|
* initialized.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDrivers
|
|
|
* \sa SDL_GetVideoDriver
|
|
@@ -369,7 +369,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetCurrentVideoDriver(void);
|
|
|
* \returns a number >= 1 or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayBounds
|
|
|
*/
|
|
@@ -383,7 +383,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumVideoDisplays(void);
|
|
|
* \returns the name of a display or NULL for an invalid display index or
|
|
|
* failure; call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
|
*/
|
|
@@ -399,7 +399,7 @@ extern DECLSPEC const char * SDLCALL SDL_GetDisplayName(int displayIndex);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
|
*/
|
|
@@ -429,7 +429,7 @@ extern DECLSPEC int SDLCALL SDL_GetDisplayBounds(int displayIndex, SDL_Rect * re
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayBounds
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
@@ -465,7 +465,7 @@ extern DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rec
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.4.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
|
*/
|
|
@@ -478,7 +478,7 @@ extern DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, fl
|
|
|
* \returns The SDL_DisplayOrientation enum value of the display, or
|
|
|
* `SDL_ORIENTATION_UNKNOWN` if it isn't available.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.9.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
|
*/
|
|
@@ -494,7 +494,7 @@ extern DECLSPEC SDL_DisplayOrientation SDLCALL SDL_GetDisplayOrientation(int dis
|
|
|
* \returns a number >= 1 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayMode
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
@@ -519,7 +519,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumDisplayModes(int displayIndex);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumDisplayModes
|
|
|
*/
|
|
@@ -540,7 +540,7 @@ extern DECLSPEC int SDLCALL SDL_GetDisplayMode(int displayIndex, int modeIndex,
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetCurrentDisplayMode
|
|
|
* \sa SDL_GetDisplayMode
|
|
@@ -562,7 +562,7 @@ extern DECLSPEC int SDLCALL SDL_GetDesktopDisplayMode(int displayIndex, SDL_Disp
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDesktopDisplayMode
|
|
|
* \sa SDL_GetDisplayMode
|
|
@@ -590,7 +590,7 @@ extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(int displayIndex, SDL_Disp
|
|
|
* \returns the passed in value `closest` or NULL if no matching video mode
|
|
|
* was available; call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayMode
|
|
|
* \sa SDL_GetNumDisplayModes
|
|
@@ -604,7 +604,7 @@ extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayI
|
|
|
* \returns the index of the display containing the point or a negative error
|
|
|
* code on failure; call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.24.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayBounds
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
@@ -619,7 +619,7 @@ extern DECLSPEC int SDLCALL SDL_GetPointDisplayIndex(const SDL_Point * point);
|
|
|
* to the center of the rect on success or a negative error code on
|
|
|
* failure; call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.24.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayBounds
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
@@ -634,7 +634,7 @@ extern DECLSPEC int SDLCALL SDL_GetRectDisplayIndex(const SDL_Rect * rect);
|
|
|
* success or a negative error code on failure; call SDL_GetError()
|
|
|
* for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetDisplayBounds
|
|
|
* \sa SDL_GetNumVideoDisplays
|
|
@@ -655,7 +655,7 @@ extern DECLSPEC int SDLCALL SDL_GetWindowDisplayIndex(SDL_Window * window);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowDisplayMode
|
|
|
* \sa SDL_SetWindowFullscreen
|
|
@@ -672,7 +672,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowDisplayMode(SDL_Window * window,
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowDisplayMode
|
|
|
* \sa SDL_SetWindowFullscreen
|
|
@@ -690,7 +690,7 @@ extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_Window * window,
|
|
|
* \returns the raw ICC profile data on success or NULL on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.18.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC void* SDLCALL SDL_GetWindowICCProfile(SDL_Window * window, size_t* size);
|
|
|
|
|
@@ -702,7 +702,7 @@ extern DECLSPEC void* SDLCALL SDL_GetWindowICCProfile(SDL_Window * window, size_
|
|
|
* SDL_PIXELFORMAT_UNKNOWN on failure; call SDL_GetError() for more
|
|
|
* information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window);
|
|
|
|
|
@@ -772,7 +772,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window);
|
|
|
* \returns the window that was created or NULL on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_CreateWindowFrom
|
|
|
* \sa SDL_DestroyWindow
|
|
@@ -793,7 +793,7 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindow(const char *title,
|
|
|
* \returns the window that was created or NULL on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_CreateWindow
|
|
|
* \sa SDL_DestroyWindow
|
|
@@ -810,7 +810,7 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindowFrom(const void *data);
|
|
|
* \returns the ID of the window on success or 0 on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowFromID
|
|
|
*/
|
|
@@ -826,7 +826,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowID(SDL_Window * window);
|
|
|
* \returns the window associated with `id` or NULL if it doesn't exist; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowID
|
|
|
*/
|
|
@@ -838,7 +838,7 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_GetWindowFromID(Uint32 id);
|
|
|
* \param window the window to query
|
|
|
* \returns a mask of the SDL_WindowFlags associated with `window`
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_CreateWindow
|
|
|
* \sa SDL_HideWindow
|
|
@@ -858,7 +858,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowFlags(SDL_Window * window);
|
|
|
* \param window the window to change
|
|
|
* \param title the desired window title in UTF-8 format
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowTitle
|
|
|
*/
|
|
@@ -872,7 +872,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowTitle(SDL_Window * window,
|
|
|
* \returns the title of the window in UTF-8 format or "" if there is no
|
|
|
* title.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowTitle
|
|
|
*/
|
|
@@ -884,7 +884,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_Window * window);
|
|
|
* \param window the window to change
|
|
|
* \param icon an SDL_Surface structure containing the icon for the window
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Window * window,
|
|
|
SDL_Surface * icon);
|
|
@@ -899,7 +899,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Window * window,
|
|
|
* \param userdata the associated pointer
|
|
|
* \returns the previous value associated with `name`.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowData
|
|
|
*/
|
|
@@ -914,7 +914,7 @@ extern DECLSPEC void* SDLCALL SDL_SetWindowData(SDL_Window * window,
|
|
|
* \param name the name of the pointer
|
|
|
* \returns the value associated with `name`.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowData
|
|
|
*/
|
|
@@ -932,7 +932,7 @@ extern DECLSPEC void *SDLCALL SDL_GetWindowData(SDL_Window * window,
|
|
|
* \param y the y coordinate of the window in screen coordinates, or
|
|
|
* `SDL_WINDOWPOS_CENTERED` or `SDL_WINDOWPOS_UNDEFINED`
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowPosition
|
|
|
*/
|
|
@@ -951,7 +951,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowPosition(SDL_Window * window,
|
|
|
* \param y a pointer filled in with the y position of the window, in screen
|
|
|
* coordinates, may be NULL
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowPosition
|
|
|
*/
|
|
@@ -975,7 +975,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window * window,
|
|
|
* \param h the height of the window in pixels, in screen coordinates, must be
|
|
|
* > 0
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowSize
|
|
|
* \sa SDL_SetWindowDisplayMode
|
|
@@ -1001,7 +1001,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowSize(SDL_Window * window, int w,
|
|
|
* \param h a pointer filled in with the height of the window, in screen
|
|
|
* coordinates, may be NULL
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_GetDrawableSize
|
|
|
* \sa SDL_Vulkan_GetDrawableSize
|
|
@@ -1038,7 +1038,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window * window, int *w,
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowSize
|
|
|
*/
|
|
@@ -1059,7 +1059,7 @@ extern DECLSPEC int SDLCALL SDL_GetWindowBordersSize(SDL_Window * window,
|
|
|
* \param h a pointer to variable for storing the height in pixels, may be
|
|
|
* NULL
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.26.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_CreateWindow
|
|
|
* \sa SDL_GetWindowSize
|
|
@@ -1074,7 +1074,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowSizeInPixels(SDL_Window * window,
|
|
|
* \param min_w the minimum width of the window in pixels
|
|
|
* \param min_h the minimum height of the window in pixels
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowMinimumSize
|
|
|
* \sa SDL_SetWindowMaximumSize
|
|
@@ -1091,7 +1091,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window,
|
|
|
* \param h a pointer filled in with the minimum height of the window, may be
|
|
|
* NULL
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowMaximumSize
|
|
|
* \sa SDL_SetWindowMinimumSize
|
|
@@ -1106,7 +1106,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window,
|
|
|
* \param max_w the maximum width of the window in pixels
|
|
|
* \param max_h the maximum height of the window in pixels
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowMaximumSize
|
|
|
* \sa SDL_SetWindowMinimumSize
|
|
@@ -1123,7 +1123,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window * window,
|
|
|
* \param h a pointer filled in with the maximum height of the window, may be
|
|
|
* NULL
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowMinimumSize
|
|
|
* \sa SDL_SetWindowMaximumSize
|
|
@@ -1143,7 +1143,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowMaximumSize(SDL_Window * window,
|
|
|
* \param window the window of which to change the border state
|
|
|
* \param bordered SDL_FALSE to remove border, SDL_TRUE to add border
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowFlags
|
|
|
*/
|
|
@@ -1162,7 +1162,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowBordered(SDL_Window * window,
|
|
|
* \param window the window of which to change the resizable state
|
|
|
* \param resizable SDL_TRUE to allow resizing, SDL_FALSE to disallow
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowFlags
|
|
|
*/
|
|
@@ -1179,7 +1179,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowResizable(SDL_Window * window,
|
|
|
* \param on_top SDL_TRUE to set the window always on top, SDL_FALSE to
|
|
|
* disable
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.16.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowFlags
|
|
|
*/
|
|
@@ -1191,7 +1191,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowAlwaysOnTop(SDL_Window * window,
|
|
|
*
|
|
|
* \param window the window to show
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_HideWindow
|
|
|
* \sa SDL_RaiseWindow
|
|
@@ -1203,7 +1203,7 @@ extern DECLSPEC void SDLCALL SDL_ShowWindow(SDL_Window * window);
|
|
|
*
|
|
|
* \param window the window to hide
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_ShowWindow
|
|
|
*/
|
|
@@ -1214,7 +1214,7 @@ extern DECLSPEC void SDLCALL SDL_HideWindow(SDL_Window * window);
|
|
|
*
|
|
|
* \param window the window to raise
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_Window * window);
|
|
|
|
|
@@ -1223,7 +1223,7 @@ extern DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_Window * window);
|
|
|
*
|
|
|
* \param window the window to maximize
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_MinimizeWindow
|
|
|
* \sa SDL_RestoreWindow
|
|
@@ -1235,7 +1235,7 @@ extern DECLSPEC void SDLCALL SDL_MaximizeWindow(SDL_Window * window);
|
|
|
*
|
|
|
* \param window the window to minimize
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_MaximizeWindow
|
|
|
* \sa SDL_RestoreWindow
|
|
@@ -1247,7 +1247,7 @@ extern DECLSPEC void SDLCALL SDL_MinimizeWindow(SDL_Window * window);
|
|
|
*
|
|
|
* \param window the window to restore
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_MaximizeWindow
|
|
|
* \sa SDL_MinimizeWindow
|
|
@@ -1266,7 +1266,7 @@ extern DECLSPEC void SDLCALL SDL_RestoreWindow(SDL_Window * window);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowDisplayMode
|
|
|
* \sa SDL_SetWindowDisplayMode
|
|
@@ -1292,7 +1292,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowFullscreen(SDL_Window * window,
|
|
|
* \returns the surface associated with the window, or NULL on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_UpdateWindowSurface
|
|
|
* \sa SDL_UpdateWindowSurfaceRects
|
|
@@ -1311,7 +1311,7 @@ extern DECLSPEC SDL_Surface * SDLCALL SDL_GetWindowSurface(SDL_Window * window);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowSurface
|
|
|
* \sa SDL_UpdateWindowSurfaceRects
|
|
@@ -1333,7 +1333,7 @@ extern DECLSPEC int SDLCALL SDL_UpdateWindowSurface(SDL_Window * window);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowSurface
|
|
|
* \sa SDL_UpdateWindowSurface
|
|
@@ -1355,7 +1355,7 @@ extern DECLSPEC int SDLCALL SDL_UpdateWindowSurfaceRects(SDL_Window * window,
|
|
|
* \param window the window for which the input grab mode should be set
|
|
|
* \param grabbed SDL_TRUE to grab input or SDL_FALSE to release input
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetGrabbedWindow
|
|
|
* \sa SDL_GetWindowGrab
|
|
@@ -1385,7 +1385,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
|
|
|
* \param window The window for which the keyboard grab mode should be set.
|
|
|
* \param grabbed This is SDL_TRUE to grab keyboard, and SDL_FALSE to release.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.16.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowKeyboardGrab
|
|
|
* \sa SDL_SetWindowMouseGrab
|
|
@@ -1402,7 +1402,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowKeyboardGrab(SDL_Window * window,
|
|
|
* \param window The window for which the mouse grab mode should be set.
|
|
|
* \param grabbed This is SDL_TRUE to grab mouse, and SDL_FALSE to release.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.16.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowMouseGrab
|
|
|
* \sa SDL_SetWindowKeyboardGrab
|
|
@@ -1417,7 +1417,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowMouseGrab(SDL_Window * window,
|
|
|
* \param window the window to query
|
|
|
* \returns SDL_TRUE if input is grabbed, SDL_FALSE otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowGrab
|
|
|
*/
|
|
@@ -1429,7 +1429,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab(SDL_Window * window);
|
|
|
* \param window the window to query
|
|
|
* \returns SDL_TRUE if keyboard is grabbed, and SDL_FALSE otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.16.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowKeyboardGrab
|
|
|
* \sa SDL_GetWindowGrab
|
|
@@ -1442,7 +1442,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowKeyboardGrab(SDL_Window * window);
|
|
|
* \param window the window to query
|
|
|
* \returns SDL_TRUE if mouse is grabbed, and SDL_FALSE otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.16.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowKeyboardGrab
|
|
|
* \sa SDL_GetWindowGrab
|
|
@@ -1454,7 +1454,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowMouseGrab(SDL_Window * window);
|
|
|
*
|
|
|
* \returns the window if input is grabbed or NULL otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.4.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowGrab
|
|
|
* \sa SDL_SetWindowGrab
|
|
@@ -1473,7 +1473,7 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_GetGrabbedWindow(void);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.18.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowMouseRect
|
|
|
* \sa SDL_SetWindowMouseGrab
|
|
@@ -1487,7 +1487,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowMouseRect(SDL_Window * window, const SD
|
|
|
* \returns A pointer to the mouse confinement rectangle of a window, or NULL
|
|
|
* if there isn't one.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.18.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowMouseRect
|
|
|
*/
|
|
@@ -1514,7 +1514,7 @@ extern DECLSPEC const SDL_Rect * SDLCALL SDL_GetWindowMouseRect(SDL_Window * win
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowBrightness
|
|
|
* \sa SDL_SetWindowGammaRamp
|
|
@@ -1534,7 +1534,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowBrightness(SDL_Window * window, float b
|
|
|
* \returns the brightness for the display where 0.0 is completely dark and
|
|
|
* 1.0 is normal brightness.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowBrightness
|
|
|
*/
|
|
@@ -1553,7 +1553,7 @@ extern DECLSPEC float SDLCALL SDL_GetWindowBrightness(SDL_Window * window);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowOpacity
|
|
|
*/
|
|
@@ -1574,7 +1574,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowOpacity(SDL_Window * window, float opac
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowOpacity
|
|
|
*/
|
|
@@ -1588,7 +1588,7 @@ extern DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window * window, float * ou
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC int SDLCALL SDL_SetWindowModalFor(SDL_Window * modal_window, SDL_Window * parent_window);
|
|
|
|
|
@@ -1603,7 +1603,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowModalFor(SDL_Window * modal_window, SDL
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.5.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_RaiseWindow
|
|
|
*/
|
|
@@ -1635,7 +1635,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowInputFocus(SDL_Window * window);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GetWindowGammaRamp
|
|
|
*/
|
|
@@ -1663,7 +1663,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowGammaRamp(SDL_Window * window,
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_SetWindowGammaRamp
|
|
|
*/
|
|
@@ -1743,7 +1743,7 @@ typedef SDL_HitTestResult (SDLCALL *SDL_HitTest)(SDL_Window *win,
|
|
|
* \returns 0 on success or -1 on error (including unsupported); call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.4.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window * window,
|
|
|
SDL_HitTest callback,
|
|
@@ -1757,7 +1757,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window * window,
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.16.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC int SDLCALL SDL_FlashWindow(SDL_Window * window, SDL_FlashOperation operation);
|
|
|
|
|
@@ -1769,7 +1769,7 @@ extern DECLSPEC int SDLCALL SDL_FlashWindow(SDL_Window * window, SDL_FlashOperat
|
|
|
*
|
|
|
* \param window the window to destroy
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_CreateWindow
|
|
|
* \sa SDL_CreateWindowFrom
|
|
@@ -1788,7 +1788,7 @@ extern DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window * window);
|
|
|
* \returns SDL_TRUE if the screensaver is enabled, SDL_FALSE if it is
|
|
|
* disabled.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_DisableScreenSaver
|
|
|
* \sa SDL_EnableScreenSaver
|
|
@@ -1798,7 +1798,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled(void);
|
|
|
/**
|
|
|
* Allow the screen to be blanked by a screen saver.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_DisableScreenSaver
|
|
|
* \sa SDL_IsScreenSaverEnabled
|
|
@@ -1814,7 +1814,7 @@ extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void);
|
|
|
* The screensaver is disabled by default since SDL 2.0.2. Before SDL 2.0.2
|
|
|
* the screensaver was enabled by default.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_EnableScreenSaver
|
|
|
* \sa SDL_IsScreenSaverEnabled
|
|
@@ -1842,7 +1842,7 @@ extern DECLSPEC void SDLCALL SDL_DisableScreenSaver(void);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_GetProcAddress
|
|
|
* \sa SDL_GL_UnloadLibrary
|
|
@@ -1894,7 +1894,7 @@ extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path);
|
|
|
* \returns a pointer to the named OpenGL function. The returned pointer
|
|
|
* should be cast to the appropriate function signature.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_ExtensionSupported
|
|
|
* \sa SDL_GL_LoadLibrary
|
|
@@ -1905,7 +1905,7 @@ extern DECLSPEC void *SDLCALL SDL_GL_GetProcAddress(const char *proc);
|
|
|
/**
|
|
|
* Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_LoadLibrary
|
|
|
*/
|
|
@@ -1928,7 +1928,7 @@ extern DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void);
|
|
|
* \param extension the name of the extension to check
|
|
|
* \returns SDL_TRUE if the extension is supported, SDL_FALSE otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC SDL_bool SDLCALL SDL_GL_ExtensionSupported(const char
|
|
|
*extension);
|
|
@@ -1936,7 +1936,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GL_ExtensionSupported(const char
|
|
|
/**
|
|
|
* Reset all previously set OpenGL context attributes to their default values.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.2.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_GetAttribute
|
|
|
* \sa SDL_GL_SetAttribute
|
|
@@ -1956,7 +1956,7 @@ extern DECLSPEC void SDLCALL SDL_GL_ResetAttributes(void);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_GetAttribute
|
|
|
* \sa SDL_GL_ResetAttributes
|
|
@@ -1971,7 +1971,7 @@ extern DECLSPEC int SDLCALL SDL_GL_SetAttribute(SDL_GLattr attr, int value);
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_ResetAttributes
|
|
|
* \sa SDL_GL_SetAttribute
|
|
@@ -1993,7 +1993,7 @@ extern DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int *value);
|
|
|
* \returns the OpenGL context associated with `window` or NULL on error; call
|
|
|
* SDL_GetError() for more details.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_DeleteContext
|
|
|
* \sa SDL_GL_MakeCurrent
|
|
@@ -2011,7 +2011,7 @@ extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_CreateContext(SDL_Window *
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_CreateContext
|
|
|
*/
|
|
@@ -2024,7 +2024,7 @@ extern DECLSPEC int SDLCALL SDL_GL_MakeCurrent(SDL_Window * window,
|
|
|
* \returns the currently active OpenGL window on success or NULL on failure;
|
|
|
* call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC SDL_Window* SDLCALL SDL_GL_GetCurrentWindow(void);
|
|
|
|
|
@@ -2034,7 +2034,7 @@ extern DECLSPEC SDL_Window* SDLCALL SDL_GL_GetCurrentWindow(void);
|
|
|
* \returns the currently active OpenGL context or NULL on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_MakeCurrent
|
|
|
*/
|
|
@@ -2055,7 +2055,7 @@ extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
|
|
|
* \param h a pointer to variable for storing the height in pixels, may be
|
|
|
* NULL
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.1.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_CreateWindow
|
|
|
* \sa SDL_GetWindowSize
|
|
@@ -2086,7 +2086,7 @@ extern DECLSPEC void SDLCALL SDL_GL_GetDrawableSize(SDL_Window * window, int *w,
|
|
|
* \returns 0 on success or -1 if setting the swap interval is not supported;
|
|
|
* call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_GetSwapInterval
|
|
|
*/
|
|
@@ -2103,7 +2103,7 @@ extern DECLSPEC int SDLCALL SDL_GL_SetSwapInterval(int interval);
|
|
|
* swaps happen immediately instead of waiting for the next retrace;
|
|
|
* call SDL_GetError() for more information.
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_SetSwapInterval
|
|
|
*/
|
|
@@ -2121,7 +2121,7 @@ extern DECLSPEC int SDLCALL SDL_GL_GetSwapInterval(void);
|
|
|
*
|
|
|
* \param window the window to change
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*/
|
|
|
extern DECLSPEC void SDLCALL SDL_GL_SwapWindow(SDL_Window * window);
|
|
|
|
|
@@ -2130,7 +2130,7 @@ extern DECLSPEC void SDLCALL SDL_GL_SwapWindow(SDL_Window * window);
|
|
|
*
|
|
|
* \param context the OpenGL context to be deleted
|
|
|
*
|
|
|
- * \since This function is available since SDL 2.0.0.
|
|
|
+ * \since This function is available since SDL 3.0.0.
|
|
|
*
|
|
|
* \sa SDL_GL_CreateContext
|
|
|
*/
|