mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-17 07:20:54 +00:00
Fix Error: Couldn't import RGB Image: 00003002 and 00003004 (#761)
This commit is contained in:
parent
d33e3a2882
commit
0698210ce1
@ -610,9 +610,12 @@ public:
|
||||
|
||||
for(int y = 0; y < 4; ++y) {
|
||||
if(!fb->handles[y]) {
|
||||
// It's not clear wheter there could still be valid handles left.
|
||||
// setting sd->fds[y] to a negative value indicates that sd->offsets[y] and sd->pitches[y]
|
||||
// are uninitialized and contain invalid values.
|
||||
sd->fds[y] = -1;
|
||||
// It's not clear whether there could still be valid handles left.
|
||||
// So, continue anyway.
|
||||
// TODO: Is this redundent?
|
||||
// TODO: Is this redundant?
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user