- fixed compilation of 32-bit Windows targets and MSVC 2015

This commit is contained in:
alexey.lysiuk 2019-03-04 11:35:12 +02:00
parent 0e43979c28
commit 30c6ae5078
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,8 @@
#pragma once
#include <memory>
#include "utility/vectors.h"
#include "r_data/matrix.h"
#include "name.h"

View file

@ -73,7 +73,7 @@ public:
VulkanImage(VulkanDevice *device, VkImage image, VmaAllocation allocation, int width, int height, int mipLevels);
~VulkanImage();
VkImage image = nullptr;
VkImage image = VK_NULL_HANDLE;
int width = 0;
int height = 0;
int mipLevels = 1;
@ -95,7 +95,7 @@ public:
VulkanImageView(VulkanDevice *device, VkImageView view);
~VulkanImageView();
VkImageView view = nullptr;
VkImageView view = VK_NULL_HANDLE;
private:
VulkanImageView(const VulkanImageView &) = delete;
@ -110,7 +110,7 @@ public:
VulkanSampler(VulkanDevice *device, VkSampler sampler);
~VulkanSampler();
VkSampler sampler = nullptr;
VkSampler sampler = VK_NULL_HANDLE;
private:
VulkanSampler(const VulkanSampler &) = delete;
@ -125,7 +125,7 @@ public:
VulkanShader(VulkanDevice *device, VkShaderModule module);
~VulkanShader();
VkShaderModule module = nullptr;
VkShaderModule module = VK_NULL_HANDLE;
private:
VulkanDevice *device = nullptr;
@ -318,7 +318,7 @@ public:
std::unique_ptr<VulkanCommandBuffer> createBuffer();
VkCommandPool pool = nullptr;
VkCommandPool pool = VK_NULL_HANDLE;
private:
VulkanDevice *device = nullptr;