File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -935,6 +935,19 @@ procedure SDL_RestoreWindow(window: PSDL_Window); cdecl;
935935function SDL_SetWindowFullscreen (window: PSDL_Window; flags: TSDL_WindowFlags): cint; cdecl;
936936 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_SetWindowFullscreen' { $ENDIF} { $ENDIF} ;
937937
938+ { **
939+ * Return whether the window has a surface associated with it.
940+ *
941+ * \returns SDL_TRUE if there is a surface associated with the window, or
942+ * SDL_FALSE otherwise.
943+ *
944+ * \since This function is available since SDL 2.28.0.
945+ *
946+ * \sa SDL_GetWindowSurface
947+ *}
948+ function SDL_HasWindowSurface (window: PSDL_Window): TSDL_Bool; cdecl;
949+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_HasWindowSurface' { $ENDIF} { $ENDIF} ;
950+
938951 { **
939952 * Get the SDL surface associated with the window.
940953 *
You can’t perform that action at this time.
0 commit comments