Fix compilation against latest libultraship (#2479)
This commit is contained in:
Submodule libultraship updated: 1fc9f37954...8cbebc4205
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user