Skip to content

Commit

Permalink
moving credit stuff back to their orig location to fix credit display…
Browse files Browse the repository at this point in the history
… stuff
  • Loading branch information
loshjawrence committed Apr 29, 2019
1 parent 467f5e7 commit 43c0141
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -3206,7 +3206,7 @@ define([

scene._pickPositionCacheDirty = true;
frameState.creditDisplay.update();
frameState.creditDisplay.beginFrame();
// frameState.creditDisplay.beginFrame();
}

function postPassesUpdate(scene) {
Expand All @@ -3215,7 +3215,7 @@ define([
primitives.postPassesUpdate(frameState);

RequestScheduler.update();
frameState.creditDisplay.endFrame();
// frameState.creditDisplay.endFrame();
}

var scratchBackgroundColor = new Color();
Expand Down Expand Up @@ -3243,6 +3243,8 @@ define([
}
frameState.backgroundColor = backgroundColor;

frameState.creditDisplay.beginFrame();

scene.fog.update(frameState);

us.update(frameState);
Expand Down Expand Up @@ -3288,6 +3290,7 @@ define([
}
}

frameState.creditDisplay.endFrame();
context.endFrame();
}

Expand Down

0 comments on commit 43c0141

Please sign in to comment.