diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-09 19:00:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 19:00:52 -0500 |
commit | 6d2af32f2930cd3c4a1d1163153b3434ef770379 (patch) | |
tree | e4296d2ca8579984d78e0e92634c68e76cd54cb5 /src | |
parent | 8f9d5c314385d9717eef3854d88fb2effc3b2281 (diff) | |
parent | 8ef1fdafa250d4d638ebae9647d058a4ad1e57a9 (diff) |
Merge pull request #12323 from liamwhite/buffer-format
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); |