From a138c79b80e5abb358ef9490cf748c6b48fcfca1 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 15 Nov 2024 16:27:10 -0500 Subject: [PATCH] remove copy --- CMakeLists.txt | 2 +- libraries/BLT | 2 +- src/blt/gfx/renderer/font_renderer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf5e4cd..cbd363e 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.0) +set(BLT_GRAPHICS_VERSION 1.1.1) set(BLT_GRAPHICS_TEST_VERSION 0.0.1) project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION}) diff --git a/libraries/BLT b/libraries/BLT index 1c931b2..d32b5d3 160000 --- a/libraries/BLT +++ b/libraries/BLT @@ -1 +1 @@ -Subproject commit 1c931b2515ce83eb38a1e532d15ee11d99c67d18 +Subproject commit d32b5d398a8bded92409d7dc889ca752bb001d0c diff --git a/src/blt/gfx/renderer/font_renderer.cpp b/src/blt/gfx/renderer/font_renderer.cpp index 376f802..5fd5f8e 100644 --- a/src/blt/gfx/renderer/font_renderer.cpp +++ b/src/blt/gfx/renderer/font_renderer.cpp @@ -376,7 +376,7 @@ namespace blt::gfx global_y -= generator.get_generated_size(); continue; } - auto& texture = generator.get_texture(std::string(font), c); + auto& texture = generator.get_texture(font, c); auto& ch = texture.get_glyph(c, font); if (std::isblank(c))