diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-03-13 20:25:23 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-03-13 20:35:10 +0100 |
commit | 6ed6129b4ffab796c144d587afd3a27d33667f8f (patch) | |
tree | dab3508351d06041e6445299bb7e19c5f1783d92 /src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |
parent | video_core/morton: Remove clang-format off when it's not needed (diff) | |
download | yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.tar yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.tar.gz yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.tar.bz2 yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.tar.lz yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.tar.xz yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.tar.zst yuzu-6ed6129b4ffab796c144d587afd3a27d33667f8f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index e9eb6e921..bd1409660 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -446,7 +446,7 @@ void SwizzleFunc(const MortonSwizzleMode& mode, const SurfaceParams& params, MortonSwizzle(mode, params.pixel_format, params.MipWidth(mip_level), params.MipBlockHeight(mip_level), params.MipHeight(mip_level), params.MipBlockDepth(mip_level), 1, params.tile_width_spacing, - gl_buffer.data() + offset_gl, gl_size, params.addr + offset); + gl_buffer.data() + offset_gl, params.addr + offset); offset += layer_size; offset_gl += gl_size; } @@ -455,7 +455,7 @@ void SwizzleFunc(const MortonSwizzleMode& mode, const SurfaceParams& params, MortonSwizzle(mode, params.pixel_format, params.MipWidth(mip_level), params.MipBlockHeight(mip_level), params.MipHeight(mip_level), params.MipBlockDepth(mip_level), depth, params.tile_width_spacing, - gl_buffer.data(), gl_buffer.size(), params.addr + offset); + gl_buffer.data(), params.addr + offset); } } |