diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-03-02 06:44:19 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-03-02 06:44:19 +0100 |
commit | 5ad62e7bfccf6655e1aa355e31d23ab86e163b50 (patch) | |
tree | ebe6f1eb39237a6a4e74a18c7e3777cf8c716117 /src/video_core/renderer_opengl | |
parent | Merge pull request #6016 from ameerj/remove-async-nvdec (diff) | |
download | yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.gz yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.bz2 yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.lz yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.xz yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.zst yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.cpp b/src/video_core/renderer_opengl/gl_buffer_cache.cpp index 6da3906a4..c225d1fc9 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_buffer_cache.cpp @@ -73,7 +73,8 @@ BufferCacheRuntime::BufferCacheRuntime(const Device& device_) for (auto& stage_uniforms : fast_uniforms) { for (OGLBuffer& buffer : stage_uniforms) { buffer.Create(); - glNamedBufferData(buffer.handle, BufferCache::SKIP_CACHE_SIZE, nullptr, GL_STREAM_DRAW); + glNamedBufferData(buffer.handle, BufferCache::DEFAULT_SKIP_CACHE_SIZE, nullptr, + GL_STREAM_DRAW); } } for (auto& stage_uniforms : copy_uniforms) { |