diff --git a/Directory.Packages.props b/Directory.Packages.props index d844ccbbf..20962c6c7 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -59,7 +59,7 @@ - + diff --git a/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Cursor.cs b/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Cursor.cs index 71b609495..868689ff4 100644 --- a/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Cursor.cs +++ b/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Cursor.cs @@ -38,7 +38,7 @@ internal partial class Clyde fixed (Rgba32* pixPtr = img.GetPixelSpan()) { - var surface = SDL.SDL_CreateSurfaceFrom( + var surface = (nint) SDL.SDL_CreateSurfaceFrom( img.Width, img.Height, SDL.SDL_PixelFormat.SDL_PIXELFORMAT_ABGR8888, diff --git a/Robust.Client/Graphics/Clyde/Windowing/Sdl3.WindowIcons.cs b/Robust.Client/Graphics/Clyde/Windowing/Sdl3.WindowIcons.cs index 4e9ca1d3d..eb1b4cdd9 100644 --- a/Robust.Client/Graphics/Clyde/Windowing/Sdl3.WindowIcons.cs +++ b/Robust.Client/Graphics/Clyde/Windowing/Sdl3.WindowIcons.cs @@ -75,7 +75,7 @@ internal partial class Clyde IntPtr surface; fixed (byte* ptr = copied) { - surface = SDL.SDL_CreateSurfaceFrom( + surface = (nint) SDL.SDL_CreateSurfaceFrom( img.Width, img.Height, SDL.SDL_PixelFormat.SDL_PIXELFORMAT_ABGR8888,