From 595917d0b57b8f6eed88fe03be44d38df9eab57d Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 15 Nov 2024 16:28:25 -0500 Subject: [PATCH] better debug --- CMakeLists.txt | 2 +- include/blt/gfx/renderer/font_renderer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbd363e..703e90e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/include/blt/gfx/renderer/font_renderer.h b/include/blt/gfx/renderer/font_renderer.h index fedc329..515f8d8 100644 --- a/include/blt/gfx/renderer/font_renderer.h +++ b/include/blt/gfx/renderer/font_renderer.h @@ -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