commit | 2632350ac88cdf007c62e18345b71411755ed6ba | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Wed Mar 04 14:58:02 2015 -0800 |
committer | Dan Stoza <stoza@google.com> | Wed Mar 18 16:00:44 2015 -0700 |
tree | 34d498264d342c8bbfdb23f8315640cc8f5e91ae | |
parent | c168b8a5a9dcc0e45e32fc3cd40b9410e0288fb1 [diff] |
GLConsumer: Fix unsigned subtraction during crop Since some variables had been switched from signed to unsigned, there was a section of code that was guaranteed to be incorrect because it effectively did 'if (a < b) { c = a - b; }'. This change fixes it. Cherry pick of I9cdd6c9a0179801addebb5d6dc1fbaddf8f53c62 Bug: 19346631 Change-Id: Id13a46f74c9ae7278463ce22b586f4dc21b5e453