Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[dxvk] Remove needless refcount in updateTransformFeedbackBuffers
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad authored and doitsujin committed Aug 9, 2021
1 parent 4edaade commit a35f2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dxvk/dxvk_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4729,7 +4729,7 @@ namespace dxvk {
xfbBuffers[i] = m_common->dummyResources().bufferHandle();

if (physSlice.handle != VK_NULL_HANDLE) {
auto buffer = m_state.xfb.buffers[i].buffer();
const Rc<DxvkBuffer>& buffer = m_state.xfb.buffers[i].buffer();
buffer->setXfbVertexStride(gsOptions.xfbStrides[i]);

m_cmd->trackResource<DxvkAccess::Write>(buffer);
Expand Down

0 comments on commit a35f2af

Please sign in to comment.