diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-08 13:09:02 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | de0b1cb2b2199bd8efff78938d385fa74652cdfb (patch) | |
tree | 627dc29f0d24dc37aaa823fada0d14c7c40e1eda /src/video_core/texture_cache/texture_cache.h | |
parent | surface_base: Add parenthesis to EmplaceOverview's predicate (diff) | |
download | yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.tar yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.tar.gz yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.tar.bz2 yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.tar.lz yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.tar.xz yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.tar.zst yuzu-de0b1cb2b2199bd8efff78938d385fa74652cdfb.zip |
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index bb5a50ab9..554b9a228 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -323,7 +323,7 @@ private: const SurfaceParams& params, const GPUVAddr gpu_addr, const u8* host_ptr) { - if (!params.is_layered || params.target == SurfaceTarget::Texture3D) { + if (params.target == SurfaceTarget::Texture3D) { return {}; } TSurface new_surface = GetUncachedSurface(gpu_addr, params); |