Skip to content
Snippets Groups Projects
Commit d784db4e authored by Martin Štourač's avatar Martin Štourač
Browse files

removed commented out code

parent 44f401d6
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,7 @@ static void start(Config const& cfg)
SDL_GL_SetSwapInterval(cfg.v_sync ? 1 : 0);
// TODO: Load window icon from 'cfg.data_root_dir / cfg.font_relative_path', if '!cfg.font_relative_path.empty()'.
ImGui::CreateContext();
ImGui::StyleColorsDark();
ImGui_ImplSDL2_InitForOpenGL(window_ptr, gl_context_ptr);
......@@ -132,8 +133,6 @@ void run(Config const& cfg)
throw std::logic_error("Error: Function 'osi::run' was called recursively.");
data_root_dir = std::filesystem::absolute(cfg.data_root_dir);
//std::filesystem::path correct_data_root_dir = std::string{"C:\\projects\\rofibots-root-dir\\data\\"};
//data_root_dir = correct_data_root_dir;
if (!std::filesystem::is_directory(data_root_dir))
throw std::logic_error("Error: The data root directory is not valid: " + data_root_dir.string());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment