mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-27 15:50:17 +00:00
Merge pull request #12323 from liamwhite/buffer-format
fbshare: set external format correctly
This commit is contained in:
commit
6d2af32f29
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ void MakeGraphicBuffer(android::BufferQueueProducer& producer, u32 slot, u32 han
|
||||||
buffer->height = SharedBufferHeight;
|
buffer->height = SharedBufferHeight;
|
||||||
buffer->stride = SharedBufferBlockLinearStride;
|
buffer->stride = SharedBufferBlockLinearStride;
|
||||||
buffer->format = SharedBufferBlockLinearFormat;
|
buffer->format = SharedBufferBlockLinearFormat;
|
||||||
|
buffer->external_format = SharedBufferBlockLinearFormat;
|
||||||
buffer->buffer_id = handle;
|
buffer->buffer_id = handle;
|
||||||
buffer->offset = slot * SharedBufferSlotSize;
|
buffer->offset = slot * SharedBufferSlotSize;
|
||||||
ASSERT(producer.SetPreallocatedBuffer(slot, buffer) == android::Status::NoError);
|
ASSERT(producer.SetPreallocatedBuffer(slot, buffer) == android::Status::NoError);
|
||||||
|
|
Loading…
Reference in a new issue