You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c0dc347
Browse filesBrowse the repository at this point in the historyBrowse files
constauto period = std::chrono::duration_cast<std::chrono::steady_clock::duration>(std::chrono::duration<double>(1. / cfg.fpsRate));
88
+
constauto period = std::chrono::duration_cast<std::chrono::steady_clock::duration>(std::chrono::duration<double>(1. / cfg.fpsRate));// TODO: wake up on HasExternalGUISignals
89
89
mNextFrameTime += period;
90
90
if (mNextFrameTime < now - period) { // More than one frame behind (slow rendering, first frame), do not try to catch up
virtualboolcanSetVSync() { returnfalse; } // OpenGL: swap interval can be set
60
-
boolEnableSendKey() override; // Request external keys (e.g. from terminal)
61
60
virtualvoidOpenGLPrint(constchar* s, float x, float y, float r, float g, float b, float a, bool fromBotton = true) = 0; // Print text on the display (needs the backend to build the font)
GLFWmonitor* monitor = glfwGetWindowMonitor(mWindow) ? glfwGetWindowMonitor(mWindow) : glfwGetPrimaryMonitor(); // Monitor of a windowed window is not known, use the primary one
0 commit comments