修复未释放用于显示FPS的TextFormat的bug
This commit is contained in:
parent
3d00ae7189
commit
afc17339b1
|
|
@ -120,6 +120,7 @@ void e2d::Renderer::__discardDeviceResources()
|
|||
|
||||
void e2d::Renderer::__discardResources()
|
||||
{
|
||||
SafeReleaseInterface(&s_pTextFormat);
|
||||
SafeReleaseInterface(&s_pDirect2dFactory);
|
||||
SafeReleaseInterface(&s_pRenderTarget);
|
||||
SafeReleaseInterface(&s_pSolidBrush);
|
||||
|
|
|
|||
Loading…
Reference in New Issue