Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

need to make sure that @render_mode is defined, at least defaulted

  • Loading branch information...
commit e84645b5935bb9a5fc817c2021099499165388e1 1 parent 6df452c
@jashkenas authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/ruby-processing/app.rb
View
1  lib/ruby-processing/app.rb
@@ -179,6 +179,7 @@ def initialize(options={})
@width = options[:width] || DEFAULT_WIDTH
@height = options[:height] || DEFAULT_HEIGHT
@title = options[:title] || File.basename(Processing::SKETCH_PATH, '.rb').titleize
+ @render_mode ||= JAVA2D
@@full_screen ||= options[:full_screen]
self.init
determine_how_to_display
Please sign in to comment.
Something went wrong with that request. Please try again.