mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Fix #17816: Option to pause Steam Overlay not greyed out when using OpenGL
This commit is contained in:
parent
7d881454de
commit
0c76872869
2 changed files with 3 additions and 2 deletions
|
@ -43,6 +43,7 @@
|
|||
- Fix: [#17784] Colour preset RNG is biased (original bug).
|
||||
- Fix: [#17788] Guests could leave queue if another guest rejoins it from the entrance building.
|
||||
- Fix: [#17834] Finance window becomes blank after 4096 years.
|
||||
- Fix: [#17816] Option to pause game when Steam Overlay is active is not greyed out when using the OpenGL renderer.
|
||||
- Fix: [#17905] The chain button in the map window is enabled for rectangular maps when (re)opened.
|
||||
- Fix: [#17931] The in-game command ‘count_objects’ crashes the game.
|
||||
|
||||
|
|
|
@ -877,8 +877,8 @@ private:
|
|||
disabled_widgets &= ~(1ULL << WIDX_RESOLUTION_LABEL);
|
||||
}
|
||||
|
||||
// Disable Steam Overlay checkbox when using software rendering.
|
||||
if (gConfigGeneral.drawing_engine == DrawingEngine::Software)
|
||||
// Disable Steam Overlay checkbox when using software or OpenGL rendering.
|
||||
if (gConfigGeneral.drawing_engine == DrawingEngine::Software || gConfigGeneral.drawing_engine == DrawingEngine::OpenGL)
|
||||
{
|
||||
disabled_widgets |= (1ULL << WIDX_STEAM_OVERLAY_PAUSE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue