Skip to content

Commit

Permalink
Merge pull request #5047 from AnalyticalGraphicsInc/mrt-test-fix
Browse files Browse the repository at this point in the history
Firefox test failure fix - draws with multiple render targets
  • Loading branch information
pjcozzi authored Feb 28, 2017
2 parents 0372bf8 + b1bcfe4 commit 8e395af
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Specs/Renderer/FramebufferSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,15 +527,22 @@ defineSuite([
return;
}

var source = new Uint8Array(4);
var colorTexture0 = new Texture({
context : context,
width : 1,
height : 1
source : {
arrayBufferView : source,
width : 1,
height : 1
}
});
var colorTexture1 = new Texture({
context : context,
width : 1,
height : 1
source : {
arrayBufferView : source,
width : 1,
height : 1
}
});
framebuffer = new Framebuffer({
context : context,
Expand Down

0 comments on commit 8e395af

Please sign in to comment.