From c8b5b569dacd25abc45cda1bf70bff53b15ac945 Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 28 Nov 2017 11:26:14 +0100 Subject: [PATCH] Examples: DirectX9: Call EndFrame(), fix for assert added in 9a44d447cd29096c74e38bec917015c0ee1ffaea --- examples/directx9_example/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp index 30c820ef..af53ddb3 100644 --- a/examples/directx9_example/main.cpp +++ b/examples/directx9_example/main.cpp @@ -144,6 +144,7 @@ int main(int, char**) } // Rendering + ImGui::EndFrame(); g_pd3dDevice->SetRenderState(D3DRS_ZENABLE, false); g_pd3dDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, false); g_pd3dDevice->SetRenderState(D3DRS_SCISSORTESTENABLE, false);