Fixed a small bug in ogfx::TTFRenderer that caused errors when more than

one instance of TTFRenderer was present
This commit is contained in:
Sylar 2026-01-05 20:45:50 +01:00
parent 5878d69b5e
commit 2416d2bc15
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
1938
1939

View file

@ -45,7 +45,7 @@ namespace ogfx
private:
ostd::ConsoleOutputHandler m_out;
inline static bool m_initialized { false };
bool m_initialized { false };
bool m_fontOpen { false };
TTF_Font* m_font { nullptr };
SDL_Renderer* m_renderer { nullptr };