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
331}331}
332 332
333void PreparePrimaryFramebuffer::run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext, gpu::FramebufferPointer& primaryFramebuffer) {333void PreparePrimaryFramebuffer::run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext, gpu::FramebufferPointer& primaryFramebuffer) {
334 auto args = renderContext->args;
335 334
336 auto framebufferCache = DependencyManager::get<FramebufferCache>();335 auto framebufferCache = DependencyManager::get<FramebufferCache>();
337 auto framebufferSize = framebufferCache->getFrameBufferSize();336 auto framebufferSize = framebufferCache->getFrameBufferSize();
338 337 glm::ivec2 frameSize(framebufferSize.width(), framebufferSize.height());
339 // glm::ivec2 frameSize(args->_viewport.z, args->_viewport.w);
340 glm::ivec2 frameSize(framebufferSize.width(), framebufferSize.height());
341 338
342 if (!_primaryFramebuffer) {339 if (!_primaryFramebuffer) {
343 _primaryFramebuffer = gpu::FramebufferPointer(gpu::Framebuffer::create());340 _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