fix issue with print

main
Brett 2025-03-18 14:24:07 -04:00
parent 479247a5a3
commit 8a98d76767
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.25)
include(FetchContent)
set(BLT_GRAPHICS_VERSION 1.1.5)
set(BLT_GRAPHICS_VERSION 1.1.6)
set(BLT_GRAPHICS_TEST_VERSION 0.0.1)
project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION})

@ -1 +1 @@
Subproject commit f8cf71e15208ea54cf6e12719e3c526a3637afef
Subproject commit ebf0a80774fba3b4c6e7ccfc51193b9a3299cdbc

View File

@ -49,7 +49,7 @@ namespace blt::gfx
textures_to_load.pop_back();
}
auto path = resource_prefix + texture.get_path();
LOG_LOCKED(BLT_DEBUG("Loading texture file %s", path.c_str()));
LOG_LOCKED(BLT_DEBUG("Loading texture file '{}'", path.c_str()));
if (!std::filesystem::exists(path))
{
LOG_LOCKED(BLT_WARN("Texture '%s' does not exist on disk!", path.c_str()));
@ -100,7 +100,7 @@ namespace blt::gfx
{
auto* back = loaded_textures.back();
textures_2d.insert({back->getName(), new texture_gl2D(back->texture())});
LOG_LOCKED(BLT_DEBUG("Loaded texture '%s'", back->getName().c_str()));
LOG_LOCKED(BLT_DEBUG("Loaded texture '{}'", back->getName().c_str()));
delete back;
loaded_textures.pop_back();
}