From fae56e453ee79180b17f55feb52ac5d78f532583 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 16 Feb 2017 19:22:40 +0000 Subject: [PATCH] Fix variable shadowing warning on VS2015 --- renderdoc/driver/vulkan/vk_win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/driver/vulkan/vk_win32.cpp b/renderdoc/driver/vulkan/vk_win32.cpp index 37caa94fd..58e03416c 100644 --- a/renderdoc/driver/vulkan/vk_win32.cpp +++ b/renderdoc/driver/vulkan/vk_win32.cpp @@ -329,7 +329,7 @@ void VulkanReplay::InstallVulkanLayer(bool systemLevel) // if we're a 64-bit process, update the 32-bit key #if ENABLED(RDOC_X64) { - HKEY key = GetImplicitLayersKey(true, true); + key = GetImplicitLayersKey(true, true); if(key) {