mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-06 07:13:28 +09:00
kmsgrab: Fix multi-plane import
This commit is contained in:
1 file changed
+1
-2
@@ -571,6 +571,7 @@ public:
|
||||
sd->offsets[x] = fb->offsets[y];
|
||||
sd->pitches[x] = fb->pitches[y];
|
||||
sd->plane_indices[x] = y;
|
||||
++x;
|
||||
}
|
||||
|
||||
sd->width = fb->width;
|
||||
@@ -585,8 +586,6 @@ public:
|
||||
return capture_e::reinit;
|
||||
}
|
||||
|
||||
++x;
|
||||
|
||||
return capture_e::ok;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user