diff --git a/apex_guest/Client/Client/overlay.cpp b/apex_guest/Client/Client/overlay.cpp index 5c90fe9..5a9e58d 100644 --- a/apex_guest/Client/Client/overlay.cpp +++ b/apex_guest/Client/Client/overlay.cpp @@ -346,9 +346,9 @@ DWORD Overlay::CreateplaceholderOverlay() g_pd3dDeviceContext->ClearRenderTargetView(g_mainRenderTargetView, clear_color_with_alpha); 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); @@ -774,4 +774,4 @@ void Overlay::DrawplaceholderHealth(float placeholderx, float placeholdery, int DrawQuadFilled(sssss1, sssss2, sssss3, sssss4, shieldCol); } } -} \ No newline at end of file +}