Fix Windows build.

This commit is contained in:
Philip Rideout
2020-08-20 10:16:11 -07:00
parent 5b0e01329a
commit 9c7a8fef24
@@ -573,7 +573,7 @@ VkImageView VulkanTexture::getImageView(int level, int layer, VkImageAspectFlags
VkImageView imageView;
vkCreateImageView(mContext.device, &viewInfo, VKALLOC, &imageView);
mImageViews.emplace_back((ImageViewCacheEntry) {level, layer, imageView});
mImageViews.emplace_back(ImageViewCacheEntry({level, layer, imageView}));
// This is a very simplistic cache that exists only for the benefit of VulkanRenderTarget.
// If it grows too big, there's a bug or we need to replace it with a more sophisticated cache.