aboutsummaryrefslogtreecommitdiff
path: root/layers/vk_layer_table.cpp
diff options
context:
space:
mode:
authorMark Young <marky@lunarg.com>2016-01-28 13:25:35 -0700
committerMark Young <marky@lunarg.com>2016-01-28 13:25:35 -0700
commit9a901cf92b363febe98f70969cc7f520c2e76101 (patch)
treefccf0ec03af9cf1eb56020227c628dd9ea0ea3de /layers/vk_layer_table.cpp
parentba809883050937390fbe229555e7b3b2539da100 (diff)
downloadusermoji-9a901cf92b363febe98f70969cc7f520c2e76101.tar.xz
layers: Fix 32-bit Win compilation issue in swapchain layer.
The layer was using an unordered_map<void*, SwpSurface> ... in several places, but VkSurfaceKHR (unlike many other Vulkan types) isn't a pointer but a uint64_t. On Win32, it's trying to push in a uint64_t into a 32-bit pointer, which the compiler is choking on. Instead, make the unordered_map use VkSurfaceKHR.
Diffstat (limited to 'layers/vk_layer_table.cpp')
0 files changed, 0 insertions, 0 deletions