diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-16 13:57:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-16 13:57:42 -0500 |
| commit | 4bf1f217ae28357e753f7e9cadd0a1baf05d2192 (patch) | |
| tree | e79b98addebcfb55e228248571891bf5ccc25706 /src/core/hle/service/vi/vi.cpp | |
| parent | a093f3d47a418e1eeb7ea091f4950bfd0e1ee028 (diff) | |
| parent | adc307961357243a67ed4400d18ec9979a0c55db (diff) | |
Merge pull request #12331 from liamwhite/layer-confusion
vi: fix confusion between closing and destroying layers
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index b1bfb9898..9ab8788e3 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -719,6 +719,8 @@ private: return; } + nv_flinger.OpenLayer(layer_id); + android::OutputParcel parcel; parcel.WriteInterface(NativeWindow{*buffer_queue_id}); @@ -783,6 +785,7 @@ private: const u64 layer_id = rp.Pop<u64>(); LOG_WARNING(Service_VI, "(STUBBED) called. layer_id=0x{:016X}", layer_id); + nv_flinger.DestroyLayer(layer_id); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(ResultSuccess); |
