implement font deletion

This commit is contained in:
2026-09-06 16:13:11 +02:00
committed by tobid7
parent 8ebee69338
commit 17e000a02c
5 changed files with 20 additions and 4 deletions
+1 -3
View File
@@ -7,9 +7,7 @@ constexpr const char* pColorYellow = "\033[33m";
constexpr const char* pColorRed = "\033[31m";
static LogLevel pFilter = LogLevel::Info;
PD_API void LogFilter(LogLevel lvl) {
pFilter = lvl;
}
PD_API void LogFilter(LogLevel lvl) { pFilter = lvl; }
PD_API void Log(const std::string& txt, LogLevel lvl) {
if ((int)lvl < (int)pFilter) return;