summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-24 03:27:30 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-24 03:27:30 +0100
commitabef11a540ffc9197f6090b4eb4cd7f737594bfe (patch)
tree862a84efa98e54f7a54bd0da9e5be21fa6666d7b
parentMerge pull request #2138 from ReinUsesLisp/vulkan-memory-manager (diff)
downloadyuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.tar
yuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.tar.gz
yuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.tar.bz2
yuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.tar.lz
yuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.tar.xz
yuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.tar.zst
yuzu-abef11a540ffc9197f6090b4eb4cd7f737594bfe.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index 59f671048..74200914e 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -423,7 +423,7 @@ void SwizzleFunc(const MortonSwizzleMode& mode, const SurfaceParams& params,
for (u32 i = 0; i < params.depth; i++) {
MortonSwizzle(mode, params.pixel_format, params.MipWidth(mip_level),
params.MipBlockHeight(mip_level), params.MipHeight(mip_level),
- params.MipBlockDepth(mip_level), params.tile_width_spacing, 1,
+ params.MipBlockDepth(mip_level), 1, params.tile_width_spacing,
gl_buffer.data() + offset_gl, gl_size, params.addr + offset);
offset += layer_size;
offset_gl += gl_size;