Examples: DirectX9: Call EndFrame(), fix for assert added in 9a44d447cd

This commit is contained in:
omar 2017-11-28 11:26:14 +01:00
parent e5ebe42207
commit c8b5b569da

View File

@ -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);