diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-01-19 22:14:08 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-01-19 22:14:08 -0800 |
commit | 674042d4c75fcc11785e4c6cb1e317fe18d254b2 (patch) | |
tree | b9e0d0f4770bb88e04f6b7967c3b6ff34dbabc90 | |
parent | 15f56341dfed1d5829e8e742600cb5b559be22ac (diff) | |
download | view.love-674042d4c75fcc11785e4c6cb1e317fe18d254b2.tar.gz |
no, turn vsync back on
I notice my laptop's fan starts coming on when running many of my apps. An empty app takes 10% CPU where it used to take just 1-2%.
-rw-r--r-- | main.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main.lua b/main.lua index 260f1b0..31b7f5b 100644 --- a/main.lua +++ b/main.lua @@ -87,7 +87,6 @@ function App.initialize_globals() end function App.initialize(arg) - love.window.setVSync(0) -- simplify profiling; we're not a game love.keyboard.setTextInput(true) -- bring up keyboard on touch screen love.keyboard.setKeyRepeat(true) |