summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Cary Clark <cary@android.com> 2009-09-23 12:49:28 -0400
committer Cary Clark <cary@android.com> 2009-09-23 13:09:34 -0400
commitb82665e78f3a4f08e7b620b85246b7925097386b (patch)
tree9e5eb516f0c7dbef5455adea119619a38fb0df61 /opengl/libagl/array.cpp
parentc28e3a670fd993d5465504ed48e9e89bb24823b0 (diff)
don't allow min scale to go to infinity
When a new picture is received, the min zoom scale is set. One of the many choices divides by draw.mMinPrefWidth, even if it is zero. Add a check to require it to be greater than zero before using it as a ratio component. fixes http://b/issue?id=2138786
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions