mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-04-10 06:11:54 +10:00
wayland/screencopy: use linear texture filtering over nearest
Fixes pixelated views at scaled resolutions.
This commit is contained in:
parent
20c691cdf1
commit
4b751ccb0d
4 changed files with 7 additions and 0 deletions
|
|
@ -123,6 +123,10 @@ void WlBufferQSGDisplayNode::setRect(const QRectF& rect) {
|
|||
this->setMatrix(matrix);
|
||||
}
|
||||
|
||||
void WlBufferQSGDisplayNode::setFiltering(QSGTexture::Filtering filtering) {
|
||||
this->imageNode->setFiltering(filtering);
|
||||
}
|
||||
|
||||
void WlBufferQSGDisplayNode::syncSwapchain(const WlBufferSwapchain& swapchain) {
|
||||
auto* buffer = swapchain.frontbuffer();
|
||||
auto& texture = swapchain.presentSecondBuffer ? this->buffer2 : this->buffer1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue