Log framerate
This commit is contained in:
parent
8162ca201e
commit
41154580f2
@ -129,6 +129,9 @@ class FullDemo : public Gedeng::Application {
|
||||
terrain_shader.setMat4("projection", camera.get_projection());
|
||||
terrain_shader.setMat4("view", camera.get_view());
|
||||
terrain_mesh.render_patches(terrain_shader);
|
||||
|
||||
// Log framerate
|
||||
GG_CLIENT_INFO(std::string("Framerate: ") + std::to_string(1.0 / delta));
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user