File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ interface
141
141
{ $I sdlaudio.inc} // 2.26.3
142
142
{ $I sdlblendmode.inc} // 2.0.14
143
143
{ $I sdlsurface.inc} // 2.0.14
144
- { $I sdlvideo.inc} // 2.26 .0
144
+ { $I sdlvideo.inc} // 2.28 .0
145
145
{ $I sdlshape.inc} // 2.24.0
146
146
{ $I sdlhints.inc} // 2.26.0
147
147
{ $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;
989
989
function SDL_UpdateWindowSurfaceRects (window: PSDL_Window; rects: PSDL_Rect; numrects: cint): cint; cdecl;
990
990
external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_UpdateWindowSurfaceRects' { $ENDIF} { $ENDIF} ;
991
991
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
+
992
1007
{ **
993
1008
* Set a window's input grab mode.
994
1009
*
You can’t perform that action at this time.
0 commit comments