Skip to content

Commit 89312bb

Browse files
committed
Application: Recreate DX11 resources lazily (related to #162)
1 parent 2968746 commit 89312bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/CHANGELOG.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,6 @@ v0.9.1 (WIP):
200200

201201
BUGFIX: Editor: Don't populate unused channels with empty draw command, fixes memory leak (#168, #165)
202202

203-
BUGFIX: Application: Correctly set DX11 View for NULL textures (#162)
203+
BUGFIX: Application: Correctly set DX11 View for NULL textures (#162)
204+
205+
BUGFIX: Application: Recreate DX11 resources lazily (related to #162)

examples/application/source/renderer_dx11.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ void RendererDX11::Resize(int width, int height)
107107
CleanupRenderTarget();
108108
m_swapChain->ResizeBuffers(0, (UINT)width, (UINT)height, DXGI_FORMAT_UNKNOWN, 0);
109109
CreateRenderTarget();
110-
ImGui_ImplDX11_CreateDeviceObjects();
111110
}
112111

113112
HRESULT RendererDX11::CreateDeviceD3D(HWND hWnd)

0 commit comments

Comments
 (0)