diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2020-08-07 11:19:23 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2020-08-07 16:28:51 +0200 |
commit | 0911e15cf6b17cd1b6ffc38c5697d3b04af48725 (patch) | |
tree | 1a0ab4fdf3d35f6038e748f64b1d7bdc05e42592 /src | |
parent | 263b4a5675b966dad597fc605e2d53d1e16f6642 (diff) |
rhi: pipelineuboset remove stray character
Change-Id: I335e8beca4b827ffb07677b7fe5699d70ac2dfb6
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/renderers/rhi/renderer/pipelineuboset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/renderers/rhi/renderer/pipelineuboset.cpp b/src/plugins/renderers/rhi/renderer/pipelineuboset.cpp index 1618f97f8..0fba84af0 100644 --- a/src/plugins/renderers/rhi/renderer/pipelineuboset.cpp +++ b/src/plugins/renderers/rhi/renderer/pipelineuboset.cpp @@ -150,7 +150,7 @@ bool PipelineUBOSet::allocateUBOs(SubmissionContext *ctx) const size_t commandCount = std::max(m_renderCommands.size(), size_t(1)); // RHIBuffer only reallocates if size is < than required - m_rvUBO.buffer->allocate(QByteArray(m_rvUBO.blockSize, '\0'), dynamic);\ + m_rvUBO.buffer->allocate(QByteArray(m_rvUBO.blockSize, '\0'), dynamic); // We need to take into account any minimum alignment requirement for dynamic offsets m_commandsUBO.buffer->allocate(QByteArray(m_commandsUBO.alignedBlockSize * commandCount, '\0'), dynamic); |