mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 06:48:23 -05:00
early-access version 2968
This commit is contained in:
parent
d0f99d1371
commit
2d12f7fb50
@ -1,7 +1,7 @@
|
||||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 2967.
|
||||
This is the source code for early-access 2968.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
@ -168,7 +168,7 @@ void BufferCacheRuntime::BindIndexBuffer(Buffer& buffer, u32 offset, u32 size) {
|
||||
if (has_unified_vertex_buffers) {
|
||||
buffer.MakeResident(GL_READ_ONLY);
|
||||
glBufferAddressRangeNV(GL_ELEMENT_ARRAY_ADDRESS_NV, 0, buffer.HostGpuAddr() + offset,
|
||||
static_cast<GLsizeiptr>(size));
|
||||
static_cast<GLsizeiptr>(Common::AlignUp(size, 4)));
|
||||
} else {
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer.Handle());
|
||||
index_buffer_offset = offset;
|
||||
|
Loading…
Reference in New Issue
Block a user