Skip to content

Commit

Permalink
Add a warning about DLSSG if it is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jan 20, 2024
1 parent 78ac53f commit 875b7ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mods/VR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2312,6 +2312,12 @@ void VR::on_draw_sidebar_entry(std::string_view name) {
ImGui::TextWrapped("Note: This is only necessary if you are experiencing performance issues.");
}

if (GetModuleHandleW(L"nvngx_dlssg.dll") != nullptr) {
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 0.0f, 0.0f, 1.0f));
ImGui::TextWrapped("WARNING: DLSS Frame Generation has been detected. Make sure it is disabled within in-game settings.");
ImGui::PopStyleColor();
}

ImGui::Text((std::string{"Runtime Information ("} + get_runtime()->name().data() + ")").c_str());

m_desktop_fix->draw("Desktop Spectator View");
Expand Down

0 comments on commit 875b7ca

Please sign in to comment.