mirror of https://github.com/AxioDL/metaforce.git
Fixed fontcache thread exception
This commit is contained in:
parent
6dde3e6003
commit
d4eaaca453
|
@ -85,6 +85,11 @@ public:
|
|||
ViewResources& operator=(const ViewResources& other) = delete;
|
||||
ViewResources& operator=(ViewResources&& other) = default;
|
||||
|
||||
~ViewResources()
|
||||
{
|
||||
m_fcacheThread.detach();
|
||||
}
|
||||
|
||||
void init(boo::IGraphicsDataFactory* factory, FontCache* fcache, const ThemeData& theme, float pixelFactor);
|
||||
void prepFontCacheSync();
|
||||
void prepFontCacheAsync(boo::IWindow* window);
|
||||
|
|
Loading…
Reference in New Issue