mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Added overlay for future fps and stats display
This commit is contained in:
@@ -26,6 +26,7 @@ class IMICFPS
|
||||
@renderer = Renderer.new
|
||||
@renderer.preload_default_shaders
|
||||
@scene = TurnTableScene.new
|
||||
@overlay = Overlay.new
|
||||
|
||||
@canvas_size = Vector.new(self.width, self.height)
|
||||
|
||||
@@ -46,6 +47,7 @@ class IMICFPS
|
||||
super
|
||||
|
||||
@console.draw if @show_console
|
||||
@overlay.draw
|
||||
draw_cursor if needs_cursor
|
||||
|
||||
_canvas_size = Vector.new(self.width, self.height)
|
||||
|
||||
Reference in New Issue
Block a user