Skip to content

Commit

Permalink
Honor clear color, fixes #1125.
Browse files Browse the repository at this point in the history
  • Loading branch information
prideout committed Apr 22, 2019
1 parent 3f11af4 commit a7dfbae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filament/src/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ void FRenderer::renderJob(ArenaScope& arena, FView& view) {
(FrameGraphPassResources const& resources,
ColorPassData const& data, DriverApi& driver) {
auto out = resources.getRenderTarget(data.color);
out.params.clearColor = view.getClearColor();

if (jobFroxelize) {
auto sync = jobFroxelize;
Expand Down

0 comments on commit a7dfbae

Please sign in to comment.