Skip to content

Commit

Permalink
Limit fps to 20 or so, not a game so don't need to push so many pixel…
Browse files Browse the repository at this point in the history
…s. (Improves cpu temp since we're drawing less often)
  • Loading branch information
cyberarm committed Apr 8, 2018
1 parent fd6560b commit 6eab9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/display.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class Display < Gosu::Window
def initialize
super(Gosu.screen_width/4*3, Gosu.screen_height/4*3, fullscreen: false, resizable: true)
super(Gosu.screen_width/4*3, Gosu.screen_height/4*3, fullscreen: false, update_interval: 50.0, resizable: true)

self.caption = "VisualPlotter version #{VisualPlotter::VERSION}"
@show_legal = false
Expand Down

0 comments on commit 6eab9cd

Please sign in to comment.