summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2019-03-14 15:23:37 -0500
committerJason Ekstrand <jason.ekstrand@intel.com>2019-03-15 11:12:11 -0500
commitac9223e0ea4f108da4b7ce90ca00d9fb38370aa8 (patch)
tree06d5376ae68aef90f6f1ac3489d5d35323bac8e6
parenta768ad3493baf213ca024cb8bac6d49489520718 (diff)
Fix compile warnings on 32-bit builds
Reviewed-by: Samuel Pitoiset samuel.pitoiset@gmail.com
-rw-r--r--run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.c b/run.c
index 5afacc0..3ca8e89 100644
--- a/run.c
+++ b/run.c
@@ -302,7 +302,7 @@ create_graphics_pipeline(VkDevice device, struct pipeline_info *info,
pipelineInfo.layout = layout;
pipelineInfo.renderPass = renderPass;
- result = vkCreateGraphicsPipelines(device, NULL, 1, &pipelineInfo,
+ result = vkCreateGraphicsPipelines(device, VK_NULL_HANDLE, 1, &pipelineInfo,
NULL, pipeline);
vkDestroyRenderPass(device, renderPass, NULL);
@@ -320,7 +320,7 @@ create_compute_pipeline(VkDevice device, struct pipeline_info *info,
pipelineInfo.stage = *info->pShaderStagesInfo;
pipelineInfo.layout = layout;
- return vkCreateComputePipelines(device, NULL, 1, &pipelineInfo,
+ return vkCreateComputePipelines(device, VK_NULL_HANDLE, 1, &pipelineInfo,
NULL, pipeline);
}
static int