File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ interface
141141{ $I sdlaudio.inc} // 2.26.3
142142{ $I sdlblendmode.inc} // 2.0.14
143143{ $I sdlsurface.inc} // 2.0.14
144- { $I sdlvideo.inc} // 2.26 .0
144+ { $I sdlvideo.inc} // 2.28 .0
145145{ $I sdlshape.inc} // 2.24.0
146146{ $I sdlhints.inc} // 2.26.0
147147{ $I sdlloadso.inc} // 2.24.1
Original file line number Diff line number Diff line change @@ -989,6 +989,21 @@ function SDL_UpdateWindowSurface(window: PSDL_Window): cint; cdecl;
989989function SDL_UpdateWindowSurfaceRects (window: PSDL_Window; rects: PSDL_Rect; numrects: cint): cint; cdecl;
990990 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_UpdateWindowSurfaceRects' { $ENDIF} { $ENDIF} ;
991991
992+ { **
993+ * Destroy the surface associated with the window.
994+ *
995+ * \param window the window to update
996+ * \returns 0 on success or a negative error code on failure; call
997+ * SDL_GetError() for more information.
998+ *
999+ * \since This function is available since SDL 2.28.0.
1000+ *
1001+ * \sa SDL_GetWindowSurface
1002+ * \sa SDL_HasWindowSurface
1003+ *}
1004+ function SDL_DestroyWindowSurface (window: PSDL_Window): cint; cdecl;
1005+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_DestroyWindowSurface' { $ENDIF} { $ENDIF} ;
1006+
9921007 { **
9931008 * Set a window's input grab mode.
9941009 *
You can’t perform that action at this time.
0 commit comments