From 875b7caf5b14fb50bafec9a1415312037fea3cde Mon Sep 17 00:00:00 2001 From: praydog Date: Sat, 20 Jan 2024 00:53:32 -0800 Subject: [PATCH] Add a warning about DLSSG if it is detected --- src/mods/VR.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mods/VR.cpp b/src/mods/VR.cpp index d315f0d5..b082fe23 100644 --- a/src/mods/VR.cpp +++ b/src/mods/VR.cpp @@ -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");