mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 16:47:53 +00:00
Core: Fix get nvmap object random crash
This commit is contained in:
parent
2f61540d44
commit
9623b1dc5a
12 changed files with 66 additions and 35 deletions
|
@ -149,7 +149,7 @@ std::optional<u64> NVFlinger::CreateLayer(u64 display_id) {
|
|||
|
||||
void NVFlinger::CreateLayerAtId(VI::Display& display, u64 layer_id) {
|
||||
const auto buffer_id = next_buffer_queue_id++;
|
||||
display.CreateLayer(layer_id, buffer_id);
|
||||
display.CreateLayer(layer_id, buffer_id, nvdrv->container);
|
||||
}
|
||||
|
||||
void NVFlinger::CloseLayer(u64 layer_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue