diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-11-07 17:17:59 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-11-30 20:20:10 +0000 |
commit | 35176c22896a6c633408907e8113c3f1b9a846b0 (patch) | |
tree | b24d177879be03b07246feb7d5c9208b651883e9 /util/glgen/qopenglversionfunctions__VERSION__.cpp.footer | |
parent | 68bcccac228b73c54137304718c3c92460bc1f4b (diff) |
Avoid underflow on arithmetic with possibly-first transition times
A transition time may represent the beginning of time; as such,
arithmetic on it might underflow, e.g. on adding a negative zone
offset to compare with a given time. So move the arithmetic to the
other side of the comparison in such cases.
Change-Id: I1697a03ebf74679ff86059664dd2b173b9c4c367
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/glgen/qopenglversionfunctions__VERSION__.cpp.footer')
0 files changed, 0 insertions, 0 deletions