From afc17339b1f1af5578976a49fc8441d2521d3011 Mon Sep 17 00:00:00 2001 From: Nomango <569629550@qq.com> Date: Sat, 21 Apr 2018 00:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AA=E9=87=8A=E6=94=BE?= =?UTF-8?q?=E7=94=A8=E4=BA=8E=E6=98=BE=E7=A4=BAFPS=E7=9A=84TextFormat?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/Base/Renderer.cpp | 1 + 1 file changed, 1 insertion(+) 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);