Skip to content

Commit

Permalink
Fixed tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusvhansen authored Jan 9, 2017
1 parent 12b30f2 commit 2b94fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsmpg.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var jsmpeg = window.jsmpeg = function( url, opts ) {
this.wantsToPlay = this.autoplay;
this.loop = !!opts.loop;
this.seekable = !!opts.seekable;
this.preserveDrawingBuffer = !!opts.preserveDrawingBuffer;
this.preserveDrawingBuffer = !!opts.preserveDrawingBuffer;
this.externalLoadCallback = opts.onload || null;
this.externalDecodeCallback = opts.ondecodeframe || null;
this.externalFinishedCallback = opts.onfinished || null;
Expand Down Expand Up @@ -929,7 +929,7 @@ jsmpeg.prototype.initWebGL = function() {

// attempt to get a webgl context
try {
var options = { preserveDrawingBuffer: this.preserveDrawingBuffer };
var options = { preserveDrawingBuffer: this.preserveDrawingBuffer };
gl = this.gl = this.canvas.getContext('webgl', options) || this.canvas.getContext('experimental-webgl', options);
} catch (e) {
return false;
Expand Down

0 comments on commit 2b94fdc

Please sign in to comment.