MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / applicationGetRefreshRate

Method applicationGetRefreshRate

Source/AppDelegate.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 return 0; // flag for packages manager
79}
80int AppDelegate::applicationGetRefreshRate()
81{
82#if (AX_TARGET_PLATFORM == AX_PLATFORM_WIN32) || (AX_TARGET_PLATFORM == AX_PLATFORM_LINUX)
83 auto mode = glfwGetVideoMode(glfwGetPrimaryMonitor());
84 return mode->refreshRate;
85#else
86 return 60;
87#endif
88}
89
90
91static void setupDesignResolution(GLView* glView)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected