diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-09-25 12:58:07 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-09-25 14:59:14 +0000 |
commit | 7f3b62324e738c7b8a8a90c165ae957a55be0671 (patch) | |
tree | 11f55fc2047fd63cd5f7f2d98ea43531fa5f4db7 /src/gui/rhi/qrhigles2_p_p.h | |
parent | 63e54fbdfea29d629f5a322c4927da2e5a1b1152 (diff) |
rhi: Switch command lists to QVLA
Change-Id: Ic163533eee973f0ee2f3e2efe25390caa57dd659
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhigles2_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |