mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-26 12:12:53 +00:00
fbshare: set external format correctly
This commit is contained in:
parent
c1924951ad
commit
8ef1fdafa2
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue