Permalink
Browse files

Correctly pull syphon_server off of the settings object.

This properly was missed in the move to a dedicated settings object and was
still being taken off the simple window object.
  • Loading branch information...
1 parent 21812a9 commit 5206341df172330003765eb3e0d41371685e6ce9 @deanm committed Mar 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plask.js
View
4 plask.js
@@ -589,8 +589,8 @@ exports.simpleWindow = function(obj) {
canvas = exports.SkCanvas.create(width, height); // Offscreen.
obj.canvas = canvas;
}
- if (obj.syphon_server !== undefined) {
- syphon_server = gl_.createSyphonServer(obj.syphon_server);
+ if (settings.syphon_server !== undefined) {
+ syphon_server = gl_.createSyphonServer(settings.syphon_server);
}
} else {
obj.paint = new exports.SkPaint;

0 comments on commit 5206341

Please sign in to comment.