Skip to content
Snippets Groups Projects
Commit 68296d94 authored by Lioncash's avatar Lioncash
Browse files

gl_buffer_cache: Make constructor explicit

Implicit conversions during construction isn't desirable here.
parent fbaefc47
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ struct CachedBufferEntry final { ...@@ -31,7 +31,7 @@ struct CachedBufferEntry final {
class OGLBufferCache final : public RasterizerCache<std::shared_ptr<CachedBufferEntry>> { class OGLBufferCache final : public RasterizerCache<std::shared_ptr<CachedBufferEntry>> {
public: public:
OGLBufferCache(size_t size); explicit OGLBufferCache(size_t size);
GLintptr UploadMemory(Tegra::GPUVAddr gpu_addr, size_t size, size_t alignment = 4, GLintptr UploadMemory(Tegra::GPUVAddr gpu_addr, size_t size, size_t alignment = 4,
bool cache = true); bool cache = true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment