summaryrefslogtreecommitdiff
path: root/src/common/scratch_buffer.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2023-02-22 00:26:07 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2023-02-22 00:26:07 -0500
commit090bc588e5498c6a2cea136d28bfe43354aa2096 (patch)
treeb3502ca38982960bc25664b6e860c45bd062d8fb /src/common/scratch_buffer.h
parent8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958 (diff)
texture_cache: Add async texture decoding
Diffstat (limited to 'src/common/scratch_buffer.h')
-rw-r--r--src/common/scratch_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/scratch_buffer.h b/src/common/scratch_buffer.h
index 1245a5086..26d4e76dc 100644
--- a/src/common/scratch_buffer.h
+++ b/src/common/scratch_buffer.h
@@ -23,6 +23,7 @@ public:
buffer{Common::make_unique_for_overwrite<T[]>(initial_capacity)} {}
~ScratchBuffer() = default;
+ ScratchBuffer(ScratchBuffer&&) = default;
/// This will only grow the buffer's capacity if size is greater than the current capacity.
/// The previously held data will remain intact.