diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-04-14 12:39:20 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-04-14 12:29:35 +0000 |
commit | 5662234afaf23d88e1f3fa4bee2a59b61bd0c267 (patch) | |
tree | b97cef8b7cad66e37b9f3900c7ec216e73cc2a88 /tests/auto/gui/itemmodels | |
parent | 98e0cb0a28845fd6b808c25d2e049f8da1f9867c (diff) |
QMatrix4x4: fix aliasing problem in operator*=
When multiplying a QMatrix4x4 by itself, we were clobbering the very
matrix we read from. Employ read-caching to avoid this aliasing problem.
[ChangeLog][QtGui][QMatrix4x4] operator*=() now calculates the correct
result even if the RHS and LHS are the same object.
Change-Id: I8534d56cfdd62c336577125127f05173fcec2873
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/gui/itemmodels')
0 files changed, 0 insertions, 0 deletions