diff options
author | Marc Mutz <[email protected]> | 2025-06-25 08:46:10 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-06-25 12:08:18 +0000 |
commit | bc6f4c5db46e1d8263e32e02f2ca6e49d6b4082d (patch) | |
tree | 4f28f9816b562aa5063a9efacfdc399f8add1ad4 /examples/opengl/hellogles3/main.cpp | |
parent | ec0928c6c9a365007ac9f49dbc3c7059aa35af4e (diff) |
The array, despite being declared mutable, is never modified (and
doing so would be a data race if threads concurrently call
QQuaternion::fromRotationMatrix(), because it was declared static).
Fix by making it constexpr instead. It need not be static, as the
compiler will just optimize it away, anyway.
Amends ba640a75a5cc9fec63a5204ccf143dbb7f398842.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I0a37f7718b1e79f34d8dd56dc56d951cb8a1d44c
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/opengl/hellogles3/main.cpp')
0 files changed, 0 insertions, 0 deletions