plugins/screencast: Use bilinear min/mag filter
Use GL_LINEAR so region screencasts look nicer when the output content is magnified or minified.
This commit is contained in:
parent
6f7e06bf9e
commit
19c6425607
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ void RegionScreenCastSource::ensureTexture()
|
|||
if (!m_renderedTexture) {
|
||||
return;
|
||||
}
|
||||
m_renderedTexture->setFilter(GL_LINEAR);
|
||||
m_renderedTexture->setWrapMode(GL_CLAMP_TO_EDGE);
|
||||
|
||||
m_target = std::make_unique<GLFramebuffer>(m_renderedTexture.get());
|
||||
const auto allOutputs = workspace()->outputs();
|
||||
for (auto output : allOutputs) {
|
||||
|
|
Loading…
Reference in a new issue