diff --git a/core/Base/Renderer.cpp b/core/Base/Renderer.cpp index 622cd1c3..f7c38820 100644 --- a/core/Base/Renderer.cpp +++ b/core/Base/Renderer.cpp @@ -120,6 +120,7 @@ void e2d::Renderer::__discardDeviceResources() void e2d::Renderer::__discardResources() { + SafeReleaseInterface(&s_pTextFormat); SafeReleaseInterface(&s_pDirect2dFactory); SafeReleaseInterface(&s_pRenderTarget); SafeReleaseInterface(&s_pSolidBrush);