Archived
1
0
forked from MeloNX/MeloNX

replace opentk deprecated size property

(cherry picked from commit e65dc4521353b5cc275ece53fa6367d471fdecba)
This commit is contained in:
Emmanuel Hansen 2024-08-13 21:19:30 +00:00
parent c90b78499b
commit 0394a39342

View File

@ -1,4 +1,4 @@
using LibRyujinx.Sample;
using LibRyujinx.Sample;
using OpenTK.Mathematics;
using OpenTK.Windowing.Common;
using OpenTK.Windowing.Desktop;
@ -15,8 +15,8 @@ namespace LibRyujinx.NativeSample
success = LibRyujinxInterop.InitializeGraphics(new GraphicsConfiguration());
var nativeWindowSettings = new NativeWindowSettings()
{
Size = new Vector2i(800, 600),
Title = "Ryujinx",
ClientSize = new Vector2i(800, 600),
Title = "Ryujinx Native",
API = ContextAPI.NoAPI,
IsEventDriven = false,
// This is needed to run on macos
@ -30,4 +30,4 @@ namespace LibRyujinx.NativeSample
}
}
}
}
}