commit | abf952c1b121405ebb6720a779817b7850fb43b9 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Wed Mar 04 14:58:02 2015 -0800 |
committer | Dan Stoza <stoza@google.com> | Wed Mar 04 14:58:02 2015 -0800 |
tree | d2132448e1e87d4828e48c4542ec131317cc6fa9 | |
parent | 123edd9f812c93973de923397f2a5cb6fdaa4135 [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. Bug: 19346631 Change-Id: I9cdd6c9a0179801addebb5d6dc1fbaddf8f53c62