diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ruby2d/window.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ruby2d/window.rb b/lib/ruby2d/window.rb index fee0893..5b0b7cb 100644 --- a/lib/ruby2d/window.rb +++ b/lib/ruby2d/window.rb @@ -189,6 +189,7 @@ module Ruby2D if Color.is_valid? opts[:background] @background = Color.new(opts[:background]) end + @icon = opts[:icon] || @icon @width = opts[:width] || @width @height = opts[:height] || @height @fps_cap = opts[:fps_cap] || @fps_cap |
