diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-10 01:00:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 01:00:52 +0100 |
commit | 6d2af32f2930cd3c4a1d1163153b3434ef770379 (patch) | |
tree | e4296d2ca8579984d78e0e92634c68e76cd54cb5 /src/core | |
parent | Merge pull request #12325 from GPUCode/better-nce-message (diff) | |
parent | fbshare: set external format correctly (diff) | |
download | yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.tar yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.tar.gz yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.tar.bz2 yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.tar.lz yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.tar.xz yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.tar.zst yuzu-6d2af32f2930cd3c4a1d1163153b3434ef770379.zip |
Diffstat (limited to 'src/core')
-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); |