Skip to content

Commit

Permalink
fix stored memory stride for normal textures
Browse files Browse the repository at this point in the history
  • Loading branch information
mimimi085181 committed Jul 12, 2017
1 parent be9b8f4 commit b273534
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoCommon/TextureCacheBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ TextureCacheBase::TCacheEntry* TextureCacheBase::Load(const u32 stage)
entry->SetHashes(base_hash, full_hash);
entry->is_efb_copy = false;
entry->is_custom_tex = hires_tex != nullptr;
entry->memory_stride = entry->BytesPerRow();

std::string basename = "";
if (g_ActiveConfig.bDumpTextures && !hires_tex)
Expand Down

0 comments on commit b273534

Please sign in to comment.