|
|
@ -346,9 +346,9 @@ DWORD Overlay::CreateplaceholderOverlay()
|
|
|
|
g_pd3dDeviceContext->ClearRenderTargetView(g_mainRenderTargetView, clear_color_with_alpha);
|
|
|
|
g_pd3dDeviceContext->ClearRenderTargetView(g_mainRenderTargetView, clear_color_with_alpha);
|
|
|
|
ImGui_ImplDX11_RenderDrawData(ImGui::GetDrawData());
|
|
|
|
ImGui_ImplDX11_RenderDrawData(ImGui::GetDrawData());
|
|
|
|
|
|
|
|
|
|
|
|
g_pSwapChain->Present(1, 0); // Present with vsync
|
|
|
|
g_pSwapChain->Present(0, 0); // Modified to increase FPS
|
|
|
|
|
|
|
|
|
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
|
|
|
//std::this_thread::sleep_for(std::chrono::milliseconds(1));// Modified to increase FPS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ClickplaceholderThrough(true);
|
|
|
|
ClickplaceholderThrough(true);
|
|
|
|
|
|
|
|
|
|
|
|