diff options
author | 2013-07-24 11:49:33 -0700 | |
---|---|---|
committer | 2013-07-24 11:49:33 -0700 | |
commit | 6cad75744ed3b81cf2c96f545368067b62c726ec (patch) | |
tree | 42028d937d8071bbd1e58029da66a20e39346b1c /libs/hwui/Extensions.cpp | |
parent | 4a8baef3f56042ab4592db030c61af0a4c632d15 (diff) |
Fix 9patches' limitation of 32 empty quads
The 9patch format allows to define more empty quads than this, remove
the use of a single int to index empty quads and replace it with a
lookup in the 9patch resource data structure.
Change-Id: I148ee5d9e0c96822b534a344e15c9d88078db7c2
Diffstat (limited to 'libs/hwui/Extensions.cpp')
-rw-r--r-- | libs/hwui/Extensions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Extensions.cpp b/libs/hwui/Extensions.cpp index 218c18ee16df..84e7e650c52e 100644 --- a/libs/hwui/Extensions.cpp +++ b/libs/hwui/Extensions.cpp @@ -86,7 +86,7 @@ Extensions::Extensions(): Singleton<Extensions>() { // or more digits. The release number and vendor specific information are // optional." - if (sscanf(version, "OpenGL ES %d.%d", &mVersionMajor, &mVersionMinor) !=2) { + if (sscanf(version, "OpenGL ES %d.%d", &mVersionMajor, &mVersionMinor) != 2) { // If we cannot parse the version number, assume OpenGL ES 2.0 mVersionMajor = 2; mVersionMinor = 0; |