Skip to content

Commit

Permalink
Revert "Disable AMD switchable graphics device to avoid enumerating p…
Browse files Browse the repository at this point in the history
…hysical device error on certain platform (BoomingTech#137)"

This reverts commit ffa9108.
  • Loading branch information
KKKLV496 committed Aug 15, 2022
1 parent ffceef2 commit 60ee58a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ void Pilot::PVulkanContext::initialize(GLFWwindow* window)
// https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
char const* vk_layer_path = PILOT_XSTR(PILOT_VK_LAYER_PATH);
SetEnvironmentVariableA("VK_LAYER_PATH", vk_layer_path);
SetEnvironmentVariableA("DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1", "1");
#else
#error Unknown Compiler
#endif
Expand Down

0 comments on commit 60ee58a

Please sign in to comment.