]> git.sesse.net Git - nageru/commitdiff
Clean some duplicate code from the default theme.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 19 Jul 2019 14:56:18 +0000 (16:56 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 19 Jul 2019 14:56:18 +0000 (16:56 +0200)
nageru/theme.lua

index e098a2c711dfc90b144a31abe4b22ab833d38a71..349d33b865fa7ebbfae90179ab8d05235cd363e9 100644 (file)
@@ -110,9 +110,6 @@ local static_scene = Scene.new(16, 9)
 static_scene:add_input(static_image)  -- Note: Locks this input to images only.
 static_scene:finalize()
 
--- Set some global state.
-Nageru.set_num_channels(4)  -- Can only be called at the start of the program.
-
 -- Set some global state. Unless marked otherwise, these can only be set once,
 -- at the start of the program.
 Nageru.set_num_channels(4)