renderer: untransform textures matching display transform
fixes #6754 This will break if the client uses a transform that is not equal to the display, reverting to old behavior. Combining transforms is left as a todo for the future.
This commit is contained in:
parent
5979ceb56b
commit
1797319a07
3 changed files with 18 additions and 8 deletions
|
|
@ -406,6 +406,9 @@ void CWLSurfaceResource::commitPendingState() {
|
|||
pending.damage.clear();
|
||||
pending.bufferDamage.clear();
|
||||
|
||||
if (current.buffer && current.buffer->texture)
|
||||
current.buffer->texture->m_eTransform = wlTransformToHyprutils(current.transform);
|
||||
|
||||
if (current.buffer && !bufferReleased) {
|
||||
current.buffer->update(accumulateCurrentBufferDamage());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue