diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-06 20:54:46 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-06 20:54:49 +0200 |
commit | 68296d9474b828b42317ab0f99a2cd764017d240 (patch) | |
tree | 5ba77e548de00e636e66407323df9de5ebd09404 | |
parent | Merge pull request #1248 from degasus/shader_fix (diff) | |
download | yuzu-68296d9474b828b42317ab0f99a2cd764017d240.tar yuzu-68296d9474b828b42317ab0f99a2cd764017d240.tar.gz yuzu-68296d9474b828b42317ab0f99a2cd764017d240.tar.bz2 yuzu-68296d9474b828b42317ab0f99a2cd764017d240.tar.lz yuzu-68296d9474b828b42317ab0f99a2cd764017d240.tar.xz yuzu-68296d9474b828b42317ab0f99a2cd764017d240.tar.zst yuzu-68296d9474b828b42317ab0f99a2cd764017d240.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index 9c7ad27e6..33a6c0d69 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -31,7 +31,7 @@ struct CachedBufferEntry final { class OGLBufferCache final : public RasterizerCache<std::shared_ptr<CachedBufferEntry>> { public: - OGLBufferCache(size_t size); + explicit OGLBufferCache(size_t size); GLintptr UploadMemory(Tegra::GPUVAddr gpu_addr, size_t size, size_t alignment = 4, bool cache = true); |