Skip to content

Commit 8d54059

Browse files
Update SDL_metal.inc to 3.4.4
1 parent 2d343d6 commit 8d54059

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

units/SDL3.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ interface
121121
{$I SDL_filesystem.inc} // 3.4.4
122122
{$I SDL_atomic.inc} // 3.4.4
123123
{$I SDL_hidapi.inc} // 3.4.4
124-
{$I SDL_metal.inc} // 3.2.0
124+
{$I SDL_metal.inc} // 3.4.4
125125
{$I SDL_vulkan.inc} // 3.2.0
126126
{$I SDL_thread.inc} // 3.2.0
127127
{$I SDL_process.inc} // 3.2.0

units/SDL_metal.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ type
4343
* \param window the window.
4444
* \returns handle NSView or UIView.
4545
*
46+
* \threadsafety This function should only be called on the main thread.
47+
*
4648
* \since This function is available since SDL 3.2.0.
4749
*
4850
* \sa SDL_Metal_DestroyView
@@ -59,6 +61,8 @@ function SDL_Metal_CreateView(window: PSDL_Window): TSDL_MetalView; cdecl;
5961
*
6062
* \param view the SDL_MetalView object.
6163
*
64+
* \threadsafety This function should only be called on the main thread.
65+
*
6266
* \since This function is available since SDL 3.2.0.
6367
*
6468
* \sa SDL_Metal_CreateView
@@ -72,6 +76,8 @@ procedure SDL_Metal_DestroyView(view: TSDL_MetalView); cdecl;
7276
* \param view the SDL_MetalView object.
7377
* \returns a Pointer.
7478
*
79+
* \threadsafety This function should only be called on the main thread.
80+
*
7581
* \since This function is available since SDL 3.2.0.
7682
}
7783
function SDL_Metal_GetLayer(view: TSDL_MetalView): Pointer; cdecl;

0 commit comments

Comments
 (0)