summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorunknown <FreddyFunk@users.noreply.github.com>2019-02-10 10:28:04 +0100
committerFreddyFunk <FreddyFunk@users.noreply.github.com>2019-03-29 18:22:08 +0100
commitb4857e326fdf4c980c88ca399e7d12f99253777e (patch)
tree5e90dbe3f86317723ee15306cdf1de38d6405790 /src/video_core
parentgl_shader_disk_cache: Fixup clang format (diff)
downloadyuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar
yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.gz
yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.bz2
yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.lz
yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.xz
yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.zst
yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_disk_cache.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp
index ec32602ad..8a43eb157 100644
--- a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp
@@ -259,7 +259,7 @@ ShaderDiskCacheOpenGL::LoadPrecompiledFile(FileUtil::IOFile& file) {
return {};
}
- dump.binary = Common::Compression::DecompressDataZSTD(compressed_binary, binary_length);
+ dump.binary = Common::Compression::DecompressDataZSTD(compressed_binary);
if (dump.binary.empty()) {
return {};
}
@@ -288,8 +288,7 @@ std::optional<ShaderDiskCacheDecompiled> ShaderDiskCacheOpenGL::LoadDecompiledEn
return {};
}
- const std::vector<u8> code =
- Common::Compression::DecompressDataZSTD(compressed_code, code_size);
+ const std::vector<u8> code = Common::Compression::DecompressDataZSTD(compressed_code);
if (code.empty()) {
return {};
}