Showing the changes to interface/src/ui/ApplicationOverlay.cpp (1 of 1 file). Show all
Unified · Split
| @@ -90,8 +90,8 @@ void ApplicationOverlay::renderOverlay(RenderArgs* renderArgs) { · 89 unmodified lines | ||
| 90 | 90 | glm::vec4 color { 0.0f, 0.0f, 0.0f, 0.0f }; |
| 91 | 91 | float depth = 1.0f; |
| 92 | 92 | int stencil = 0; |
| 93 | − //batch.clearFramebuffer(gpu::Framebuffer::BUFFER_COLORS | gpu::Framebuffer::BUFFER_DEPTH, color, depth, stencil); | |
| 94 | − batch.clearColorFramebuffer(_overlayFramebuffer->getBufferMask(), glm::vec4(0.0f, 0.0f, 0.0f, 0.0f)); | |
| 93 | + batch.clearFramebuffer(gpu::Framebuffer::BUFFER_COLORS | gpu::Framebuffer::BUFFER_DEPTH, color, depth, stencil); | |
| 94 | + //batch.clearColorFramebuffer(_overlayFramebuffer->getBufferMask(), glm::vec4(0.0f, 0.0f, 0.0f, 0.0f)); | |
| 95 | 95 | |
| 96 | 96 | int width = _overlayFramebuffer ? _overlayFramebuffer->getWidth() : 0; |
| 97 | 97 | int height = _overlayFramebuffer ? _overlayFramebuffer->getHeight() : 0; |