From: Steinar H. Gunderson Date: Fri, 19 Jul 2019 14:56:18 +0000 (+0200) Subject: Clean some duplicate code from the default theme. X-Git-Tag: 1.9.0~3 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=6b5340251a6b759f9f5dc790a677e3b764806349 Clean some duplicate code from the default theme. --- diff --git a/nageru/theme.lua b/nageru/theme.lua index e098a2c..349d33b 100644 --- a/nageru/theme.lua +++ b/nageru/theme.lua @@ -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)