diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-24 03:27:30 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-24 03:27:30 +0100 |
commit | abef11a540ffc9197f6090b4eb4cd7f737594bfe (patch) | |
tree | 862a84efa98e54f7a54bd0da9e5be21fa6666d7b | |
parent | Merge pull request #2138 from ReinUsesLisp/vulkan-memory-manager (diff) | |
download | yuzu-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.cpp | 2 |
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; |