Support right & middle mouse dragging, set macOS frameTimer based on vsync refresh period

This commit is contained in:
Stephen Saunders 2021-09-15 16:19:34 -04:00
parent 3941a5becd
commit 57e650b653
5 changed files with 49 additions and 8 deletions

View file

@ -254,6 +254,7 @@ public:
int64_t lastTapTime = 0;
#elif (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK))
void* view;
double refreshPeriod = 1.0/60.0; // SRS - default refreshPeriod for 60 fps display
#elif defined(VK_USE_PLATFORM_DIRECTFB_EXT)
bool quit = false;
IDirectFB *dfb = nullptr;