Fix performance issues on apple
This commit is contained in:
@@ -45,7 +45,11 @@ namespace openVulkanoCpp
|
|||||||
vk::Rect2D fullscreenScissor;
|
vk::Rect2D fullscreenScissor;
|
||||||
bool useVsync = false;
|
bool useVsync = false;
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
uint32_t preferredImageCount = 3; //TODO add option
|
||||||
|
#else
|
||||||
uint32_t preferredImageCount = 2; //TODO add option
|
uint32_t preferredImageCount = 2; //TODO add option
|
||||||
|
#endif
|
||||||
vk::Extent2D size{0,0};
|
vk::Extent2D size{0,0};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user