X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.cpp;h=ff1f83c810b93317d7a9d985db6625fcd7be2334;hb=cfb6e27f0331084a35efdcd4e8cec1f2c9949875;hp=e087796f188eb9a454db87f696a028feed78444a;hpb=c87ae971ffd6e8fc2de6ee69bf29f0310722dab6;p=nageru diff --git a/mixer.cpp b/mixer.cpp index e087796..ff1f83c 100644 --- a/mixer.cpp +++ b/mixer.cpp @@ -144,7 +144,7 @@ Mixer::Mixer(const QSurfaceFormat &format, unsigned num_cards) movit_texel_subpixel_precision /= 2.0; resource_pool.reset(new ResourcePool); - theme.reset(new Theme(global_flags.theme_filename.c_str(), resource_pool.get(), num_cards)); + theme.reset(new Theme(global_flags.theme_filename, global_flags.theme_dirs, resource_pool.get(), num_cards)); for (unsigned i = 0; i < NUM_OUTPUTS; ++i) { output_channel[i].parent = this; output_channel[i].channel = i;