1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[d3d9] Fix typo

This commit is contained in:
Robin Kertels 2022-08-08 22:24:23 +02:00 committed by Joshie
parent 57dcf73a54
commit ac1e44f120
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ namespace dxvk {
void SetNeedsReadback(UINT Subresource, bool value) { m_needsReadback.set(Subresource, value); }
bool NeedsReachback(UINT Subresource) const { return m_needsReadback.get(Subresource); }
bool NeedsReadback(UINT Subresource) const { return m_needsReadback.get(Subresource); }
void MarkAllNeedReadback() { m_needsReadback.setAll(); }

View File

@ -4163,7 +4163,7 @@ namespace dxvk {
// then we need to copy -> buffer
// We are also always dirty if we are a render target,
// a depth stencil, or auto generate mipmaps.
bool needsReadback = pResource->NeedsReachback(Subresource) || renderable;
bool needsReadback = pResource->NeedsReadback(Subresource) || renderable;
pResource->SetNeedsReadback(Subresource, false);
void* mapPtr;