diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-14 06:55:32 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | d267948a73d2364949660a24d07833ea05c9fcc8 (patch) | |
tree | f0bfd7e5bfdcb08be09733926e6b3a8c5ad31edf /src/video_core/texture_cache/surface_base.cpp | |
parent | texture_cache: Document the most important methods. (diff) | |
download | yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.gz yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.bz2 yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.lz yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.xz yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.zst yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/surface_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_base.cpp b/src/video_core/texture_cache/surface_base.cpp index ceff51043..d4aa2c54b 100644 --- a/src/video_core/texture_cache/surface_base.cpp +++ b/src/video_core/texture_cache/surface_base.cpp @@ -130,7 +130,7 @@ void SurfaceBaseImpl::FlushBuffer(Tegra::MemoryManager& memory_manager, return; } if (params.is_tiled) { - ASSERT_MSG(params.block_width == 1, "Block width is defined as {}", params.block_width); + ASSERT_MSG(params.block_width == 0, "Block width is defined as {}", params.block_width); for (u32 level = 0; level < params.num_levels; ++level) { const std::size_t host_offset{params.GetHostMipmapLevelOffset(level)}; SwizzleFunc(MortonSwizzleMode::LinearToMorton, host_ptr, params, |