Showing the changes to libraries/render-utils/src/ToneMapAndResampleTask.cpp (1 of 3 files). Show all
Unified · Split
| @@ -33,7 +33,6 @@ void ToneMapAndResample::init(RenderArgs* args) { · 32 unmodified lines | |||
| 33 | // shared_ptr to gpu::State | 33 | // shared_ptr to gpu::State |
| 34 | gpu::StatePointer blitState = gpu::StatePointer(new gpu::State()); | 34 | gpu::StatePointer blitState = gpu::StatePointer(new gpu::State()); |
| 35 | 35 | ||
| 36 | // TODO why was this in the upsample task | ||
| 37 | blitState->setDepthTest(gpu::State::DepthTest(false, false)); | 36 | blitState->setDepthTest(gpu::State::DepthTest(false, false)); |
| 38 | blitState->setColorWriteMask(true, true, true, true); | 37 | blitState->setColorWriteMask(true, true, true, true); |
| 39 | 38 | ||