More logging

This commit is contained in:
2024-03-08 13:29:08 -05:00
parent 4589167cc8
commit c0ad2bfaec
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ namespace fgl::engine
void EngineContext::run()
{
std::cout << "Starting main loop run" << std::endl;
using namespace fgl::literals::size_literals;
Buffer global_ubo_buffer { 512_KiB,
vk::BufferUsageFlagBits::eUniformBuffer,
@@ -112,6 +113,7 @@ namespace fgl::engine
const auto old_aspect_ratio { m_renderer.getAspectRatio() };
std::cout << "Entering main loop" << std::endl;
while ( !m_window.shouldClose() )
{
ZoneScopedN( "Poll" );

View File

@@ -39,7 +39,7 @@ namespace fgl::engine
const auto data_c { stbi_load( path_str.data(), &x, &y, &channels, 4 ) };
std::cout << "Loaded image with " << x << "x" << y << " Image had " << channels << " channels" << std::endl;
std::cout << "Loaded image with " << x << "x" << y << "\n\tImage had " << channels << " channels" << std::endl;
std::vector< unsigned char > data {};