Merge pull request #12377 from ameerj/tfb-batch-oopsie

gl_buffer_cache: Fix tfb binding typo
This commit is contained in:
liamwhite 2023-12-16 13:58:06 -05:00 committed by GitHub
commit 225f4f40cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -333,7 +333,7 @@ void BufferCacheRuntime::BindTransformFeedbackBuffers(VideoCommon::HostBindings<
glBindBuffersRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, glBindBuffersRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0,
static_cast<GLsizei>(bindings.buffers.size()), buffer_handles.data(), static_cast<GLsizei>(bindings.buffers.size()), buffer_handles.data(),
reinterpret_cast<const GLintptr*>(bindings.offsets.data()), reinterpret_cast<const GLintptr*>(bindings.offsets.data()),
reinterpret_cast<const GLsizeiptr*>(bindings.strides.data())); reinterpret_cast<const GLsizeiptr*>(bindings.sizes.data()));
} }
void BufferCacheRuntime::BindTextureBuffer(Buffer& buffer, u32 offset, u32 size, void BufferCacheRuntime::BindTextureBuffer(Buffer& buffer, u32 offset, u32 size,