History

remove redundant declarations

Triplelexx committed 9 years ago

Commit 8b845651 parent 8e086a81 file · +0 −4Browse files

Showing the changes to libraries/render-utils/src/FramebufferCache.cpp (1 of 1 file). Show all

Unified · Split

libraries/render-utils/src/FramebufferCache.cpp+0−4
@@ -29,10 +29,6 @@ void FramebufferCache::setFrameBufferSize(QSize frameBufferSize) { · 28 unmodified lines
2929 }
3030
3131 void FramebufferCache::createPrimaryFramebuffer() {
32− auto colorFormat = gpu::Element::COLOR_SRGBA_32;
33− auto width = _frameBufferSize.width();
34− auto height = _frameBufferSize.height();
35−
3632 auto defaultSampler = gpu::Sampler(gpu::Sampler::FILTER_MIN_MAG_POINT);
3733
3834 auto smoothSampler = gpu::Sampler(gpu::Sampler::FILTER_MIN_MAG_MIP_LINEAR);