From eecc88ddcc70a5d450b88662e7c1a992d072ec21 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 4 Apr 2022 08:22:25 -0400 Subject: [PATCH] Remove some debug messages --- engine/core/src/engine.cpp | 8 -------- engine/renderer/src/materialcompiler.cpp | 2 -- 2 files changed, 10 deletions(-) diff --git a/engine/core/src/engine.cpp b/engine/core/src/engine.cpp index 266060d..d76ce0e 100755 --- a/engine/core/src/engine.cpp +++ b/engine/core/src/engine.cpp @@ -28,12 +28,6 @@ using prism::engine; engine::engine(const int argc, char* argv[]) { log("Prism Engine loading..."); - log("starting gfx debug:"); - - for(auto [t, t_name] : magic_enum::enum_entries()) { - log("does platform support {}? {}", t_name, platform::supports_context(t)); - } - console::register_command("echo", console::argument_format(1), [](const console::arguments& args) { log(std::get(args[0].data)); }); @@ -126,8 +120,6 @@ void engine::prepare_quit() { void engine::set_gfx(GFX* p_gfx) { Expects(p_gfx != nullptr); - prism::log("this gfx has a context of {}", utility::enum_to_string(p_gfx->required_context())); - this->gfx = p_gfx; } diff --git a/engine/renderer/src/materialcompiler.cpp b/engine/renderer/src/materialcompiler.cpp index 0993ae7..ea686bd 100755 --- a/engine/renderer/src/materialcompiler.cpp +++ b/engine/renderer/src/materialcompiler.cpp @@ -310,8 +310,6 @@ ShaderSource MaterialCompiler::compile_material_fragment(Material& material, boo )"); if(material.normalProperty.type == DataType::AssetTexture) { - prism::log("enabling normal mapping on material.."); - format_to(std::back_inserter(src), R"(vec3 final_normal = texture(normalTexture, in_uv).rgb; final_normal = final_normal * 2.0 - 1.0;