写了一个OpenGL程序,FPS有2000多正常吗?
while (!glfwWindowShouldClose(window))
{
float currentFrame = static_cast<float>(glfwGetTime());
deltaTime = currentFrame - lastFrame;
lastFrame = currentFrame;
FPS = (int)(1/deltaTime);
...
}