diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-21 02:34:07 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-22 15:02:04 -0400 |
commit | c7e079a5d441840e1ae2aabd5be0f45ffb737f1c (patch) | |
tree | d8d4f64d081a910aa8364fdf65ac32ab10bc4ab6 /src/video_core/textures/astc.cpp | |
parent | 6908ea2284cdf2beeb1d623a6600fe2fc22753a0 (diff) |
general: Resolve -Wunused-lambda-capture and C5233
Diffstat (limited to 'src/video_core/textures/astc.cpp')
-rw-r--r-- | src/video_core/textures/astc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index 15b9d4182b..69a32819a5 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp @@ -1661,8 +1661,8 @@ void Decompress(std::span<const uint8_t> data, uint32_t width, uint32_t height, for (u32 z = 0; z < depth; ++z) { const u32 depth_offset = z * height * width * 4; for (u32 y_index = 0; y_index < rows; ++y_index) { - auto decompress_stride = [data, width, height, depth, block_width, block_height, output, - rows, cols, z, depth_offset, y_index] { + auto decompress_stride = [data, width, height, block_width, block_height, output, rows, + cols, z, depth_offset, y_index] { const u32 y = y_index * block_height; for (u32 x_index = 0; x_index < cols; ++x_index) { const u32 block_index = (z * rows * cols) + (y_index * cols) + x_index; |