diff options
author | Markus Wick <markus@selfnet.de> | 2018-08-31 09:28:29 +0200 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2018-08-31 09:56:37 +0200 |
commit | 5be8b7a3629df4f087b57c2488716a5ab1684956 (patch) | |
tree | 4d37b2edb54700f92471b22ff6ddb1d8593a8f96 | |
parent | Merge pull request #1195 from FearlessTobi/port-gamelist-compat (diff) | |
download | yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.tar yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.tar.gz yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.tar.bz2 yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.tar.lz yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.tar.xz yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.tar.zst yuzu-5be8b7a3629df4f087b57c2488716a5ab1684956.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.h b/src/video_core/renderer_opengl/gl_shader_cache.h index 44156dcab..658f9e994 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_cache.h @@ -30,7 +30,7 @@ public: /// Gets the size of the shader in guest memory, required for cache management size_t GetSizeInBytes() const { - return sizeof(GLShader::ProgramCode); + return GLShader::MAX_PROGRAM_CODE_LENGTH * sizeof(u64); } /// Gets the shader entries for the shader |