Skip to content

Commit

Permalink
[util] Fix black screen after alt-tab for Trainz
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterCZ122 committed Jan 30, 2025
1 parent 8776cf2 commit e12d1ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/util/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,11 @@ namespace dxvk {
{ "d3d8.scaleDref", "24" },
{ "d3d9.deviceLossOnFocusLoss", "True" },
}} },
/* Trainz v1.3 (2001) *
* Fixes black screen after alt-tab */
{ R"(\\bin\\trainz\.exe$)", {{
{ "d3d9.deviceLossOnFocusLoss", "True" },
}} },
}};


Expand Down

0 comments on commit e12d1ce

Please # to comment.