implement fps limiter
This commit is contained in:
@@ -48,7 +48,7 @@ namespace OpenVulkano
|
||||
bool m_preferFramebufferFormatSRGB = true;
|
||||
bool m_lazyRendering = false;
|
||||
bool m_vSync = false;
|
||||
int32_t m_fpsCap = -1; // -1 = no fps cap. 0 = fps cap if vsync, no cap otherwise. > 0 = set fps cap
|
||||
int32_t m_fpsCap = 500; // -1 = no fps cap. 0 = fps cap if vsync, no cap otherwise. > 0 = set fps cap
|
||||
#ifdef __APPLE__
|
||||
uint32_t m_preferredImageCount = 3;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user