summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-27 01:48:04 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-27 01:48:07 +0100
commitf55f6ff9bbe32696da0886570833ca46c54ebd65 (patch)
tree5b814c1b5bfb45597384c6559c9fdef6b365962b /src
parentMerge pull request #3343 from FearlessTobi/ui-tab (diff)
downloadyuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.tar
yuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.tar.gz
yuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.tar.bz2
yuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.tar.lz
yuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.tar.xz
yuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.tar.zst
yuzu-f55f6ff9bbe32696da0886570833ca46c54ebd65.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/texture_cache/surface_base.cpp2
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 829268b4c..84469b7ba 100644
--- a/src/video_core/texture_cache/surface_base.cpp
+++ b/src/video_core/texture_cache/surface_base.cpp
@@ -135,7 +135,7 @@ std::vector<CopyParams> SurfaceBaseImpl::BreakDownLayered(const SurfaceParams& i
for (u32 level = 0; level < mipmaps; level++) {
const u32 width = SurfaceParams::IntersectWidth(params, in_params, level, level);
const u32 height = SurfaceParams::IntersectHeight(params, in_params, level, level);
- result.emplace_back(width, height, layer, level);
+ result.emplace_back(0, 0, layer, 0, 0, layer, level, level, width, height, 1);
}
}
return result;