set vsync = true; setting it false seems to cause crashes on UWP
GitOrigin-RevId: 6f30cefcaa6c61fb0fc3b20eada333db79f4c480
This commit is contained in:
parent
95acee959d
commit
8c6b0e3c92
@ -28,7 +28,8 @@ namespace SemiColinGames {
|
|||||||
|
|
||||||
public SneakGame() {
|
public SneakGame() {
|
||||||
graphics = new GraphicsDeviceManager(this) {
|
graphics = new GraphicsDeviceManager(this) {
|
||||||
SynchronizeWithVerticalRetrace = false
|
SynchronizeWithVerticalRetrace = true,
|
||||||
|
GraphicsProfile = GraphicsProfile.HiDef
|
||||||
};
|
};
|
||||||
IsFixedTimeStep = true;
|
IsFixedTimeStep = true;
|
||||||
TargetElapsedTime = TimeSpan.FromSeconds(1.0 / 60);
|
TargetElapsedTime = TimeSpan.FromSeconds(1.0 / 60);
|
||||||
|
Loading…
Reference in New Issue
Block a user