Procházet zdrojové kódy

Sync SDL3 wiki -> header

SDL Wiki Bot před 2 roky
rodič
revize
459be25ef9
2 změnil soubory, kde provedl 11 přidání a 0 odebrání
  1. 1 0
      include/SDL_main.h
  2. 10 0
      include/SDL_video.h

+ 1 - 0
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);
 

+ 10 - 0
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,