diff --git a/test/full-demo/main.cpp b/test/full-demo/main.cpp index dc95ea5..15b2102 100644 --- a/test/full-demo/main.cpp +++ b/test/full-demo/main.cpp @@ -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: