Skip to content

Commit

Permalink
TemporalUpscaler: Add note to window when unsupported engine version
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Sep 4, 2023
1 parent fd300f7 commit df5e87f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mods/TemporalUpscaler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ void TemporalUpscaler::on_draw_ui() {
return;
}

#if TDB_VER < 69
ImGui::TextWrapped("TemporalUpscaler is not yet supported on this version of the engine.");
ImGui::TextWrapped("Supported: RE2/RE3/RE7 (RT latest, not beta builds), RE4, RE8, SF6");
return;
#else
if (!m_backend_loaded) {
ImGui::TextWrapped("Backend is not loaded, TemporalUpscaler will not work.");
ImGui::TextWrapped("Make sure you've downloaded UpscalerBasePlugin (PDPerfPlugin.dll)");
Expand Down Expand Up @@ -194,6 +199,7 @@ void TemporalUpscaler::on_draw_ui() {

ImGui::TreePop();
}
#endif
}

void TemporalUpscaler::on_early_present() {
Expand Down

0 comments on commit df5e87f

Please sign in to comment.