mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-26 12:48:39 +08:00
[video] cap presenter ticks
This commit is contained in:
@@ -268,6 +268,8 @@ internal static unsafe class VulkanVideoPresenter
|
|||||||
options.Title = VideoOutExports.GetWindowTitle();
|
options.Title = VideoOutExports.GetWindowTitle();
|
||||||
options.WindowBorder = WindowBorder.Fixed;
|
options.WindowBorder = WindowBorder.Fixed;
|
||||||
options.VSync = true;
|
options.VSync = true;
|
||||||
|
options.FramesPerSecond = 60;
|
||||||
|
options.UpdatesPerSecond = 60;
|
||||||
_window = Window.Create(options);
|
_window = Window.Create(options);
|
||||||
_window.Load += Initialize;
|
_window.Load += Initialize;
|
||||||
_window.Render += Render;
|
_window.Render += Render;
|
||||||
|
|||||||
Reference in New Issue
Block a user