Fixed a small bug in ogfx::TTFRenderer that caused errors when more than
one instance of TTFRenderer was present
This commit is contained in:
parent
5878d69b5e
commit
2416d2bc15
2 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
1938
|
||||
1939
|
||||
|
|
|
|||
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue