X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.cpp;h=cf2ed8311a001080641fabb2afc2ae077e7409cb;hb=c7969079ddaa7ac4aced304f039420435933715e;hp=9158b3478a3f6db6a194f7086301ae686a57a799;hpb=a472dcd2c9faec3e191539fb647237195047bbd4;p=nageru diff --git a/mixer.cpp b/mixer.cpp index 9158b34..cf2ed83 100644 --- a/mixer.cpp +++ b/mixer.cpp @@ -86,7 +86,7 @@ Mixer::Mixer(const QSurfaceFormat &format, unsigned num_cards) movit_texel_subpixel_precision /= 2.0; resource_pool.reset(new ResourcePool); - theme.reset(new Theme("theme.lua", resource_pool.get())); + theme.reset(new Theme("theme.lua", resource_pool.get(), num_cards)); output_channel[OUTPUT_LIVE].parent = this; output_channel[OUTPUT_PREVIEW].parent = this; output_channel[OUTPUT_INPUT0].parent = this;