History

Address some warnings and syntax issues

samcake committed 10 years ago

Commit 3ab56061 parent a42f9a55 files · +8 −8Browse files

Showing the changes to libraries/render-utils/src/DeferredLightingEffect.cpp (1 of 5 files). Show all

Unified · Split

libraries/render-utils/src/DeferredLightingEffect.cpp+1−4
@@ -331,13 +331,10 @@ model::MeshPointer DeferredLightingEffect::getSpotLightMesh() { · 330 unmodified lines
331331 }
332332
333333 void PreparePrimaryFramebuffer::run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext, gpu::FramebufferPointer& primaryFramebuffer) {
334− auto args = renderContext->args;
335334
336335 auto framebufferCache = DependencyManager::get<FramebufferCache>();
337336 auto framebufferSize = framebufferCache->getFrameBufferSize();
338−
339− // glm::ivec2 frameSize(args->_viewport.z, args->_viewport.w);
340− glm::ivec2 frameSize(framebufferSize.width(), framebufferSize.height());
337+ glm::ivec2 frameSize(framebufferSize.width(), framebufferSize.height());
341338
342339 if (!_primaryFramebuffer) {
343340 _primaryFramebuffer = gpu::FramebufferPointer(gpu::Framebuffer::create());

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t