Skip to content

Commit

Permalink
Remove debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Feb 21, 2025
1 parent 532c5d2 commit 17c3da3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions impl/MainApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,6 @@ void vk_gltf_viewer::MainApp::run() {
}
}

if (static bool init = true; init) {
if (const char *gltfPath = std::getenv("GLTF_PATH")) {
tasks.emplace_back(std::in_place_type<control::task::LoadGltf>, gltfPath);
}
if (const char *eqmapPath = std::getenv("EQMAP_PATH")) {
tasks.emplace_back(std::in_place_type<control::task::LoadEqmap>, eqmapPath);
}
init = false;
}

for (const control::Task &task : tasks) {
visit(multilambda {
[this](const control::task::ChangePassthruRect &task) {
Expand Down

0 comments on commit 17c3da3

Please sign in to comment.