Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 76 files). Show all
Unified · Split
| @@ -420,7 +420,7 @@ gpu::FramebufferPointer PreparePrimaryFramebuffer::createFramebuffer(const char* · 419 unmodified lines | |||
| 420 | gpu::FramebufferPointer framebuffer = gpu::FramebufferPointer(gpu::Framebuffer::create(name)); | 420 | gpu::FramebufferPointer framebuffer = gpu::FramebufferPointer(gpu::Framebuffer::create(name)); |
| 421 | auto colorFormat = gpu::Element::COLOR_SRGBA_32; | 421 | auto colorFormat = gpu::Element::COLOR_SRGBA_32; |
| 422 | 422 | ||
| 423 | auto defaultSampler = gpu::Sampler(gpu::Sampler::FILTER_MIN_MAG_LINEAR); | 423 | auto defaultSampler = Sampler(Sampler::FILTER_MIN_MAG_LINEAR); |
| 424 | auto primaryColorTexture = gpu::Texture::createRenderBuffer(colorFormat, frameSize.x, frameSize.y, gpu::Texture::SINGLE_MIP, defaultSampler); | 424 | auto primaryColorTexture = gpu::Texture::createRenderBuffer(colorFormat, frameSize.x, frameSize.y, gpu::Texture::SINGLE_MIP, defaultSampler); |
| 425 | 425 | ||
| 426 | framebuffer->setRenderBuffer(0, primaryColorTexture); | 426 | framebuffer->setRenderBuffer(0, primaryColorTexture); |