Skip to content

Commit

Permalink
rendervulkan: Fix getenv call for GAMESCOPE_FORCE_GENERAL_QUEUE
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Jan 7, 2024
1 parent db71415 commit 8bc99b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendervulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ bool CVulkanDevice::selectPhysDev(VkSurfaceKHR surface)
m_generalQueueFamily = generalIndex;
m_physDev = cphysDev;

if ( env_to_bool( "GAMESCOPE_FORCE_GENERAL_QUEUE" ) )
if ( env_to_bool( getenv( "GAMESCOPE_FORCE_GENERAL_QUEUE" ) ) )
m_queueFamily = generalIndex;
}
}
Expand Down

0 comments on commit 8bc99b7

Please sign in to comment.