Skip to content

Commit

Permalink
VR (D3D12): Remove unnecessary texture assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed May 27, 2024
1 parent 1fb71ce commit 9fcca4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mods/vr/D3D12Component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@ void D3D12Component::OpenXR::copy(
D3D12_RESOURCE_STATE_RENDER_TARGET);
}
} else {
texture_ctx->texture = ctx.textures[texture_index].texture;
copy_fn(texture_ctx->commands, *texture_ctx, src_state, D3D12_RESOURCE_STATE_RENDER_TARGET);
}
texture_ctx->commands.execute();
Expand Down

0 comments on commit 9fcca4d

Please sign in to comment.