summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-18 00:20:15 +0200
committerbunnei <bunneidev@gmail.com>2018-10-18 00:20:15 +0200
commit648b55c6b90347c0bf823c095abd8de5ba42fdc6 (patch)
tree209fb86238ea6d28697fe8d5ff6840483e9a8c1b
parentgl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle. (diff)
downloadyuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.tar
yuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.tar.gz
yuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.tar.bz2
yuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.tar.lz
yuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.tar.xz
yuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.tar.zst
yuzu-648b55c6b90347c0bf823c095abd8de5ba42fdc6.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp1
1 files changed, 0 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 8a0ed964a..1cb77aaf2 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -937,7 +937,6 @@ void CachedSurface::FlushGLBuffer() {
if (params.target == SurfaceParams::SurfaceTarget::Texture2D) {
// TODO(Blinkhawk): Eliminate this condition once all texture types are implemented.
depth = 1U;
- block_depth = 1U;
}
gl_to_morton_fns[static_cast<size_t>(params.pixel_format)](
params.width, params.block_height, params.height, block_depth, depth, gl_buffer.data(),