better debug

main
Brett 2024-11-15 16:28:25 -05:00
parent a138c79b80
commit 595917d0b5
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -99,7 +99,7 @@ namespace blt::gfx
if (c >= atlas.min_char && c <= atlas.max_char)
return *atlas.atlas;
}
throw std::runtime_error("Character not found inside atlases with font '" + font + "'");
throw std::runtime_error("Character '" + std::to_string(c) + "' not found inside atlases with font '" + font + "'");
}
[[nodiscard]] blt::i32 get_dimensions() const