// Initialize variables int frames = 0; float time = 0.0f; // in seconds
while (running) { // Render a frame renderFrame();
// Increment frame count frames++;
// Initialize variables int frames = 0; float time = 0.0f; // in seconds
while (running) { // Render a frame renderFrame(); fps monitor activation code
// Increment frame count frames++;