Let platforms override the sizing of Vulkan swapchain and window
This commit is contained in:
parent
5d78ab4388
commit
994d2faf97
2 changed files with 21 additions and 26 deletions
|
|
@ -266,6 +266,8 @@ protected:
|
|||
|
||||
Error _get_preferred_validation_layers(uint32_t *count, const char *const **names);
|
||||
|
||||
virtual VkExtent2D _compute_swapchain_extent(const VkSurfaceCapabilitiesKHR &p_surf_capabilities, int *p_window_width, int *p_window_height) const;
|
||||
|
||||
public:
|
||||
// Extension calls.
|
||||
VkResult vkCreateRenderPass2KHR(VkDevice device, const VkRenderPassCreateInfo2 *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue