Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
brainantifreeze committed Dec 19, 2024
1 parent dd7fe81 commit 28bd3f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layer/VkLayer_FROG_gamescope_wsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ namespace GamescopeWSILayer {

static bool getHidePresentWait() {
static bool s_hidePresentWait = []() -> bool {
if (auto ensure = parseEnv<bool>("GAMESCOPE_WSI_HIDE_PRESENT_WAIT_EXT")) {
if (auto hide = parseEnv<bool>("GAMESCOPE_WSI_HIDE_PRESENT_WAIT_EXT")) {
fprintf(stderr, "[Gamescope WSI] Removing VkPhysicalDevicePresentWaitFeaturesKHR because GAMESCOPE_WSI_HIDE_PRESENT_WAIT_EXT is set\n");
return *ensure;
return *hide;
}
return false;
}();
Expand Down

0 comments on commit 28bd3f8

Please sign in to comment.