summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-06 20:54:46 +0200
committerLioncash <mathew1800@gmail.com>2018-09-06 20:54:49 +0200
commit68296d9474b828b42317ab0f99a2cd764017d240 (patch)
tree5ba77e548de00e636e66407323df9de5ebd09404
parentMerge pull request #1248 from degasus/shader_fix (diff)
downloadyuzu-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.h2
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);