Skip to content

Commit

Permalink
[d3d8] Remove unnecessary std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpyneDreams committed Jul 4, 2023
1 parent b83fc4c commit 834c4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d8/d3d8_texture.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace dxvk {

if (m_subresources[Index] == nullptr) {
try {
Com<SubresourceType9> subresource = std::move(LookupSubresource(Index));
Com<SubresourceType9> subresource = LookupSubresource(Index);

// Cache the subresource
m_subresources[Index] = new SubresourceType(this->m_parent, this, std::move(subresource));
Expand Down

0 comments on commit 834c4bd

Please sign in to comment.