From 8c6b0e3c92a7664fc2cac9e29c78798ca8b5768d Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Sun, 26 Jan 2020 22:50:14 -0500 Subject: [PATCH] set vsync = true; setting it false seems to cause crashes on UWP GitOrigin-RevId: 6f30cefcaa6c61fb0fc3b20eada333db79f4c480 --- Shared/SneakGame.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shared/SneakGame.cs b/Shared/SneakGame.cs index 02c5b2d..c5f2793 100644 --- a/Shared/SneakGame.cs +++ b/Shared/SneakGame.cs @@ -28,7 +28,8 @@ namespace SemiColinGames { public SneakGame() { graphics = new GraphicsDeviceManager(this) { - SynchronizeWithVerticalRetrace = false + SynchronizeWithVerticalRetrace = true, + GraphicsProfile = GraphicsProfile.HiDef }; IsFixedTimeStep = true; TargetElapsedTime = TimeSpan.FromSeconds(1.0 / 60);