mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Use new @include preprocessor added to CyberarmEngin::Shader
This commit is contained in:
@@ -4,7 +4,7 @@ class IMICFPS
|
||||
attr_reader :camera
|
||||
|
||||
attr_reader :console, :delta_time
|
||||
def initialize(window_width = 1280, window_height = 800, fullscreen = false)
|
||||
def initialize(window_width = 1280, window_height = 720, fullscreen = false)
|
||||
fps_target = (ARGV.first.to_i != 0) ? ARGV.first.to_i : 60
|
||||
if ARGV.join.include?("--native")
|
||||
super(width: Gosu.screen_width, height: Gosu.screen_height, fullscreen: true, resizable: true, update_interval: 1000.0/fps_target)
|
||||
|
||||
Reference in New Issue
Block a user