summaryrefslogtreecommitdiff
path: root/src/common/scratch_buffer.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-02-26 09:20:12 -0500
committerGitHub <noreply@github.com>2023-02-26 09:20:12 -0500
commit26c1edf2f083399a594a834bdd36be85369819f7 (patch)
treee0d76a17a7c452ed21bb74bcecce8422bab461da /src/common/scratch_buffer.h
parentc50a930bbb12184e9dee70000cec5588f2f56b0a (diff)
parentb5bcd8c71b2d5fd0528191990b4e11bc916b5d7a (diff)
Merge pull request #9849 from ameerj/async-astc
texture_cache: Add asynchronous ASTC 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.