mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-16 15:20:11 -05:00
Fix compilation against latest libultraship (#2479)
This commit is contained in:
parent
b19c72070d
commit
2c10bca615
@ -1 +1 @@
|
||||
Subproject commit 1fc9f3795405f6263c3adb3ab8f7d5f0b24b6e75
|
||||
Subproject commit 8cbebc4205f4003ddc9020fa5d63e0030dc15939
|
@ -949,7 +949,7 @@ namespace GameMenuBar {
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(6.0f, 4.0f));
|
||||
if (ImGui::Button("Match Refresh Rate"))
|
||||
{
|
||||
int hz = roundf(SohImGui::WindowRefreshRate());
|
||||
int hz = Ship::Window::GetInstance()->GetCurrentRefreshRate();
|
||||
if (hz >= 20 && hz <= 360)
|
||||
{
|
||||
CVarSetInteger(fps_cvar, hz);
|
||||
|
Loading…
Reference in New Issue
Block a user