summaryrefslogtreecommitdiff
path: root/src/amd/vulkan/radv_wsi.c
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2017-03-05 23:04:53 +0200
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2017-03-06 00:10:42 +0100
commit6aaadd8728d4c614623de390fca8937424ecc5fb (patch)
tree5262894560d2b90ab8fed2093f39547896e9559e /src/amd/vulkan/radv_wsi.c
parenta5446e3187ecaca5212e37a502c0145cc0299c47 (diff)
radv: use VK_NULL_HANDLE for handles
Avoids warnings on 32bit. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Diffstat (limited to 'src/amd/vulkan/radv_wsi.c')
-rw-r--r--src/amd/vulkan/radv_wsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c
index e43c6cfd41..d2b760e935 100644
--- a/src/amd/vulkan/radv_wsi.c
+++ b/src/amd/vulkan/radv_wsi.c
@@ -187,7 +187,7 @@ radv_wsi_image_create(VkDevice device_h,
const VkDedicatedAllocationMemoryAllocateInfoNV ded_alloc = {
.sType = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV,
.pNext = NULL,
- .buffer = NULL,
+ .buffer = VK_NULL_HANDLE,
.image = image_h
};