Repository navigation
renderer/background: don't transform received buffers - #1094
Conversation
|
Thanks for the fix, rotated outputs are upright again. One regression though: this PR removed Observed on a non-rotated output with
Putting just the assignment back (without the transform pass) restores the old behaviour on both rotated and non-rotated outputs: void CBackground::updateScAsset() {
if (scAsset || scResourceID == 0)
return;
// path=screenshot -> scAsset = asset; frames are already in the output's orientation, so no transform
scAsset = (asset && isScreenshot) ? asset : g_asyncResourceManager->getAssetByID(scResourceID);
}plus the declaration in |
Hyprland no longer sends untransformed (raw) buffers, don't transform