From 542f9c6bac22ea7bf0ff2e03a4875994e6f411b2 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 15 Jul 2019 10:27:55 +0200 Subject: [PATCH] improvement(core): activate vsync by default. Fix #28 --- CHANGELOG.md | 2 ++ gamecore/options.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 223ab16..2c429b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **camera:** Brand new camera system based on canvases instead of just transforms +- **core:** Activate vsync by default. + ### Fixed - **world:** Remove a forgotten camera debug function diff --git a/gamecore/options.lua b/gamecore/options.lua index 361d211..7c1c791 100644 --- a/gamecore/options.lua +++ b/gamecore/options.lua @@ -45,7 +45,7 @@ function OptionsManager:reset() self.data.video.crtfilter = false self.data.video.resolution = 1 self.data.video.border = true - self.data.video.vsync = false + self.data.video.vsync = true self.data.video.fullscreen = false -- We load the default files