修复未释放用于显示FPS的TextFormat的bug

This commit is contained in:
Nomango 2018-04-21 00:47:40 +08:00
parent 3d00ae7189
commit afc17339b1
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ void e2d::Renderer::__discardDeviceResources()
void e2d::Renderer::__discardResources()
{
SafeReleaseInterface(&s_pTextFormat);
SafeReleaseInterface(&s_pDirect2dFactory);
SafeReleaseInterface(&s_pRenderTarget);
SafeReleaseInterface(&s_pSolidBrush);