Skip to content

Commit

Permalink
Merge pull request #3391 from AnalyticalGraphicsInc/issue3386
Browse files Browse the repository at this point in the history
Fix #3386
  • Loading branch information
pjcozzi committed Jan 6, 2016
2 parents 275386d + a7a01f6 commit dd4c114
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -1982,14 +1982,14 @@ define([

us.update(frameState);

scratchRectangle.x = drawingBufferPosition.x - ((rectangleWidth - 1.0) * 0.5);
scratchRectangle.y = (this.drawingBufferHeight - drawingBufferPosition.y) - ((rectangleHeight - 1.0) * 0.5);

var passState = this._pickFramebuffer.begin(scratchRectangle);
updatePrimitives(this);
createPotentiallyVisibleSet(this);
updateAndClearFramebuffers(this, passState, scratchColorZero, true);

scratchRectangle.x = drawingBufferPosition.x - ((rectangleWidth - 1.0) * 0.5);
scratchRectangle.y = (this.drawingBufferHeight - drawingBufferPosition.y) - ((rectangleHeight - 1.0) * 0.5);

executeCommands(this, passState);
resolveFramebuffers(this, passState);

Expand Down Expand Up @@ -2233,7 +2233,7 @@ define([
*
* @example
* scene = scene && scene.destroy();
*
*
* @see Scene#isDestroyed
*/
Scene.prototype.destroy = function() {
Expand Down

0 comments on commit dd4c114

Please sign in to comment.