mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 20:09:54 +00:00
Remove redundent code
This commit is contained in:
parent
276aa23a61
commit
6af961199e
@ -169,10 +169,6 @@ void dmabuf_t::frame(
|
||||
next_frame->sd.height = height;
|
||||
next_frame->sd.modifier = (((std::uint64_t)high) << 32) | low;
|
||||
next_frame->obj_count = obj_count;
|
||||
|
||||
std::fill_n(next_frame->sd.fds + obj_count, 4 - obj_count, -1);
|
||||
std::fill_n(next_frame->sd.pitches + obj_count, 4 - obj_count, 0);
|
||||
std::fill_n(next_frame->sd.offsets + obj_count, 4 - obj_count, 0);
|
||||
}
|
||||
|
||||
void dmabuf_t::object(
|
||||
|
Loading…
Reference in New Issue
Block a user