History

fix depth buffer issue that was messing with drawInFront, plus some small fixes to line3ds

SamGondelman committed 9 years ago

Commit 81634301 parent 0f163a63 files · +12 −8Browse files

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

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+1−1
@@ -357,7 +357,7 @@ void DrawOverlay3D::run(const RenderContextPointer& renderContext, const Inputs& · 356 unmodified lines
357357 if (_opaquePass) {
358358 gpu::doInBatch(args->_context, [&](gpu::Batch& batch){
359359 batch.enableStereo(false);
360− batch.clearFramebuffer(gpu::Framebuffer::BUFFER_DEPTH, glm::vec4(), 1.f, 0, true);
360+ batch.clearFramebuffer(gpu::Framebuffer::BUFFER_DEPTH, glm::vec4(), 1.f, 0, false);
361361 });
362362 }
363363

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