Skip to content

Commit

Permalink
Fix #3386
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Jan 6, 2016
1 parent 275386d commit a7a01f6
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 a7a01f6

Please sign in to comment.