mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
gl_buffer_cache: Make constructor explicit
Implicit conversions during construction isn't desirable here.
This commit is contained in:
parent
fbaefc47a0
commit
68296d9474
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue