mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 21:55:52 +00:00
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=(const ViewResources& other) = delete;
|
||||||
ViewResources& operator=(ViewResources&& other) = default;
|
ViewResources& operator=(ViewResources&& other) = default;
|
||||||
|
|
||||||
|
~ViewResources()
|
||||||
|
{
|
||||||
|
m_fcacheThread.detach();
|
||||||
|
}
|
||||||
|
|
||||||
void init(boo::IGraphicsDataFactory* factory, FontCache* fcache, const ThemeData& theme, float pixelFactor);
|
void init(boo::IGraphicsDataFactory* factory, FontCache* fcache, const ThemeData& theme, float pixelFactor);
|
||||||
void prepFontCacheSync();
|
void prepFontCacheSync();
|
||||||
void prepFontCacheAsync(boo::IWindow* window);
|
void prepFontCacheAsync(boo::IWindow* window);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user