diff options
author | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-03-30 13:03:40 +0200 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-04-03 10:24:47 +0200 |
commit | 8b51ffd833745f5dcd8075605d0f1cb83891938a (patch) | |
tree | 0899aac33f53524ad3a97069b0eeb859c303226a | |
parent | 5b80321d65aeb2d9027729ef08fc695568f2bc0b (diff) | |
download | qt3d-8b51ffd833745f5dcd8075605d0f1cb83891938a.tar.gz |
Silence a type conversion warning
Change-Id: I816ad2e2133a5762b4b9b1c46fd93cb0bbff0f45
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-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 598c32ef9..b973d4270 100644 --- a/src/plugins/renderers/rhi/renderer/pipelineuboset.cpp +++ b/src/plugins/renderers/rhi/renderer/pipelineuboset.cpp @@ -597,7 +597,7 @@ void PipelineUBOSet::uploadUBOsForCommand(const RenderCommand &command, uploadUniform(uniforms, ubo, arrayStructMember, distanceToCommand, - i * blockVariable.size / arr0); + int(i * blockVariable.size / arr0)); } } } else { // Array of scalars |