Showing the changes to libraries/render-utils/src/ToneMapAndResampleTask.cpp (1 of 2 files). Show all
Unified · Split
| @@ -73,7 +73,7 @@ void ToneMapAndResample::run(const RenderContextPointer& renderContext, const In · 72 unmodified lines | |||
| 73 | 73 | ||
| 74 | resampledFrameBuffer = args->_blitFramebuffer; | 74 | resampledFrameBuffer = args->_blitFramebuffer; |
| 75 | 75 | ||
| 76 | if (!lightingBuffer || !blitFramebuffer) { | 76 | if (!lightingBuffer || !resampledFramebuffer) { |
| 77 | return; | 77 | return; |
| 78 | } | 78 | } |
| 79 | 79 | ||
| @@ -105,8 +105,6 @@ void ToneMapAndResample::run(const RenderContextPointer& renderContext, const In · 25 unmodified lines | |||
| 105 | }); | 105 | }); |
| 106 | 106 | ||
| 107 | // Set full final viewport | 107 | // Set full final viewport |
| 108 | args->_viewport = viewport; | 108 | args->_viewport = destViewport; |
| 109 | |||
| 110 | output = blitFramebuffer; | ||
| 111 | } | 109 | } |
| 112 | } | 110 | } |