diff options
author | Liam <byteslice@airmail.cc> | 2023-12-09 14:51:15 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-09 14:51:15 -0500 |
commit | 8ef1fdafa250d4d638ebae9647d058a4ad1e57a9 (patch) | |
tree | 6f6cb74a7c556a4ee7007e0fd2febc905bb77cac /src | |
parent | c1924951ad604417a5f7900427bff4ab0c8286a7 (diff) |
fbshare: set external format correctly
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp index d7db24f42..75bf31e32 100644 --- a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp +++ b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp @@ -171,6 +171,7 @@ void MakeGraphicBuffer(android::BufferQueueProducer& producer, u32 slot, u32 han buffer->height = SharedBufferHeight; buffer->stride = SharedBufferBlockLinearStride; buffer->format = SharedBufferBlockLinearFormat; + buffer->external_format = SharedBufferBlockLinearFormat; buffer->buffer_id = handle; buffer->offset = slot * SharedBufferSlotSize; ASSERT(producer.SetPreallocatedBuffer(slot, buffer) == android::Status::NoError); |