From 30f58cc3832bd1b5a5cadf4b0a4a9d47d024f9f7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 26 Jan 2024 17:48:11 +0000 Subject: Remove the static font cache Each thing can own/share a font rendering itself --- ui/font.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ui/font.h') diff --git a/ui/font.h b/ui/font.h index 2f3337f..3254f80 100644 --- a/ui/font.h +++ b/ui/font.h @@ -1,22 +1,17 @@ #pragma once #include -#include #include -#include #include #include #include #include #include -#include #include #include class Font { public: - static Cache cachedFontRenderings; - Font(std::filesystem::path path, unsigned int height); using Quad = std::array; -- cgit v1.2.3