Fix compiler errors for unix
Prioritize mailbox over immediate when not using exclusive mode
This commit is contained in:
parent
4bbc88d358
commit
bf88eb1831
2 changed files with 30 additions and 17 deletions
|
|
@ -10,7 +10,9 @@ class VulkanSurfaceCapabilities
|
|||
{
|
||||
public:
|
||||
VkSurfaceCapabilitiesKHR Capabilites = { };
|
||||
#ifdef WIN32
|
||||
VkSurfaceCapabilitiesFullScreenExclusiveEXT FullScreenExclusive = { VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT };
|
||||
#endif
|
||||
std::vector<VkPresentModeKHR> PresentModes;
|
||||
std::vector<VkSurfaceFormatKHR> Formats;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue