Showing the changes to libraries/render-utils/src/ToneMapAndResampleTask.cpp (1 of 22 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ gpu::PipelinePointer ToneMapAndResample::_mirrorPipeline; · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | ToneMapAndResample::ToneMapAndResample() { |
| 30 | 30 | Parameters parameters; |
| 31 | − _parametersBuffer = gpu::BufferView(std::make_shared<gpu::Buffer>(sizeof(Parameters), (const gpu::Byte*) ¶meters)); | |
| 31 | + _parametersBuffer = gpu::BufferView(std::make_shared<gpu::Buffer>(gpu::Buffer::UniformBuffer, sizeof(Parameters), (const gpu::Byte*) ¶meters)); | |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | void ToneMapAndResample::init() { |