Merge pull request #5279 from bunnei/buffer-queue-connect

hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.
This commit is contained in:
bunnei 2021-01-03 01:01:38 -08:00 committed by GitHub
commit f64456c7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,8 +157,6 @@ void BufferQueue::ReleaseBuffer(u32 slot) {
void BufferQueue::Connect() { void BufferQueue::Connect() {
queue_sequence.clear(); queue_sequence.clear();
id = 1;
layer_id = 1;
is_connect = true; is_connect = true;
} }