diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-18 00:20:15 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-10-18 00:20:15 +0200 |
commit | 648b55c6b90347c0bf823c095abd8de5ba42fdc6 (patch) | |
tree | 209fb86238ea6d28697fe8d5ff6840483e9a8c1b /src/video_core | |
parent | gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle. (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 1 |
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(), |