diff options
-rw-r--r-- | src/gui/rhi/qrhid3d11_p_p.h | 2 | ||||
-rw-r--r-- | src/gui/rhi/qrhigles2_p_p.h | 2 | ||||
-rw-r--r-- | src/gui/rhi/qrhivulkan_p_p.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rhi/qrhid3d11_p_p.h b/src/gui/rhi/qrhid3d11_p_p.h index e033c5b0b7..7c13544276 100644 --- a/src/gui/rhi/qrhid3d11_p_p.h +++ b/src/gui/rhi/qrhid3d11_p_p.h @@ -457,7 +457,7 @@ struct QD3D11CommandBuffer : public QRhiCommandBuffer ComputePass }; - QList<Command> commands; + QVarLengthArray<Command, 1024> commands; PassType recordingPass; QRhiRenderTarget *currentTarget; QRhiGraphicsPipeline *currentGraphicsPipeline; diff --git a/src/gui/rhi/qrhigles2_p_p.h b/src/gui/rhi/qrhigles2_p_p.h index c004b7f171..5940633151 100644 --- a/src/gui/rhi/qrhigles2_p_p.h +++ b/src/gui/rhi/qrhigles2_p_p.h @@ -514,7 +514,7 @@ struct QGles2CommandBuffer : public QRhiCommandBuffer ComputePass }; - QList<Command> commands; + QVarLengthArray<Command, 1024> commands; QVarLengthArray<QRhiPassResourceTracker, 8> passResTrackers; int currentPassResTrackerIndex; diff --git a/src/gui/rhi/qrhivulkan_p_p.h b/src/gui/rhi/qrhivulkan_p_p.h index cb21945301..641ad5a87b 100644 --- a/src/gui/rhi/qrhivulkan_p_p.h +++ b/src/gui/rhi/qrhivulkan_p_p.h @@ -533,7 +533,7 @@ struct QVkCommandBuffer : public QRhiCommandBuffer } executeSecondary; } args; }; - QList<Command> commands; + QVarLengthArray<Command, 1024> commands; QVarLengthArray<QRhiPassResourceTracker, 8> passResTrackers; int currentPassResTrackerIndex; |