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 commands; + QVarLengthArray 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 commands; + QVarLengthArray commands; QVarLengthArray 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 commands; + QVarLengthArray commands; QVarLengthArray passResTrackers; int currentPassResTrackerIndex;