mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Removed vertices count from Window, use new CyberarmEngine::Renderer::OpenGLRenderer#vertices_count for debug stats
This commit is contained in:
@@ -38,8 +38,8 @@ class IMICFPS
|
||||
end
|
||||
|
||||
if window.config.get(:debug_options, :stats)
|
||||
create_slot "Vertices: #{formatted_number(window.number_of_vertices)}"
|
||||
create_slot "Faces: #{formatted_number(window.number_of_vertices / 3)}"
|
||||
create_slot "Vertices: #{formatted_number(window.renderer.opengl_renderer.number_of_vertices)}"
|
||||
create_slot "Faces: #{formatted_number(window.renderer.opengl_renderer.number_of_vertices / 3)}"
|
||||
end
|
||||
|
||||
if window.config.get(:debug_options, :boundingboxes)
|
||||
|
||||
Reference in New Issue
Block a user