comp: Fix warning after Vulkan 1.2.174 VK_NULL_HANDLE change

../src/xrt/compositor/main/comp_layer_renderer.c:317:17: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  317 |      .subpass = VK_NULL_HANDLE,
      |                 ^~~~~~~~~~~~~~
This commit is contained in:
Christoph Haag 2021-04-19 13:04:59 +02:00
parent b9b72280bf
commit c47775a95d

View file

@ -314,7 +314,7 @@ _init_graphics_pipeline(struct comp_layer_renderer *self,
VK_DYNAMIC_STATE_SCISSOR,
},
},
.subpass = VK_NULL_HANDLE,
.subpass = 0,
};
VkResult res;