From 459be25ef906a39100bc57ff1163157249049eab Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Wed, 23 Nov 2022 19:59:15 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL_main.h | 1 + include/SDL_video.h | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/include/SDL_main.h b/include/SDL_main.h index 5185b68c86..ef9a3dbbe1 100644 --- a/include/SDL_main.h +++ b/include/SDL_main.h @@ -257,6 +257,7 @@ extern DECLSPEC int SDLCALL SDL_GDKRunApp(SDL_main_func mainFunction, void *rese /** * Callback from the application to let the suspend continue. * + * \since This function is available since SDL 3.0.0. */ extern DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void); diff --git a/include/SDL_video.h b/include/SDL_video.h index 120366c159..8b8cafb978 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -1929,6 +1929,8 @@ extern DECLSPEC void *SDLCALL SDL_GL_GetProcAddress(const char *proc); * \returns a pointer to the named EGL function. The returned pointer should * be cast to the appropriate function signature. * + * \since This function is available since SDL 3.0.0. + * * \sa SDL_GL_GetCurrentEGLDisplay */ extern DECLSPEC void *SDLCALL SDL_EGL_GetProcAddress(const char *proc); @@ -2076,6 +2078,8 @@ extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void); * * \returns the currently active EGL display or NULL on failure; call * SDL_GetError() for more information. + * + * \since This function is available since SDL 3.0.0. */ extern DECLSPEC SDL_EGLDisplay SDLCALL SDL_EGL_GetCurrentEGLDisplay(void); @@ -2084,6 +2088,8 @@ extern DECLSPEC SDL_EGLDisplay SDLCALL SDL_EGL_GetCurrentEGLDisplay(void); * * \returns the currently active EGL config or NULL on failure; call * SDL_GetError() for more information. + * + * \since This function is available since SDL 3.0.0. */ extern DECLSPEC SDL_EGLConfig SDLCALL SDL_EGL_GetCurrentEGLConfig(void); @@ -2092,6 +2098,8 @@ extern DECLSPEC SDL_EGLConfig SDLCALL SDL_EGL_GetCurrentEGLConfig(void); * * \returns the EGLSurface pointer associated with the window, or NULL on * failure. + * + * \since This function is available since SDL 3.0.0. */ extern DECLSPEC SDL_EGLSurface SDLCALL SDL_EGL_GetWindowEGLSurface(SDL_Window * window); @@ -2114,6 +2122,8 @@ extern DECLSPEC SDL_EGLSurface SDLCALL SDL_EGL_GetWindowEGLSurface(SDL_Window * * eglCreateSurface. * \param contextAttribCallback Callback for attributes to pass to * eglCreateContext. + * + * \since This function is available since SDL 3.0.0. */ extern DECLSPEC void SDLCALL SDL_EGL_SetEGLAttributeCallbacks(SDL_EGLAttribArrayCallback platformAttribCallback, SDL_EGLIntArrayCallback surfaceAttribCallback,