|
|
@@ -564,6 +564,7 @@ jsmpeg.prototype.initBuffers = function() {
|
|
564
|
564
|
|
|
565
|
565
|
if( this.gl ) {
|
|
566
|
566
|
this.gl.useProgram(this.program);
|
|
|
567
|
+ this.gl.viewport(0, 0, this.width, this.height);
|
|
567
|
568
|
|
|
568
|
569
|
// WebGL doesn't like Uint8ClampedArrays, so we have to create a
|
|
569
|
570
|
// Uint8Array view for each plane
|