about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-01-19 22:14:08 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-01-19 22:14:08 -0800
commit674042d4c75fcc11785e4c6cb1e317fe18d254b2 (patch)
treeb9e0d0f4770bb88e04f6b7967c3b6ff34dbabc90 /main.lua
parent15f56341dfed1d5829e8e742600cb5b559be22ac (diff)
downloadtext.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%.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
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)