From 6cad75744ed3b81cf2c96f545368067b62c726ec Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 24 Jul 2013 11:49:33 -0700 Subject: 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 --- libs/hwui/Extensions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/Extensions.cpp') 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() { // 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; -- cgit v1.2.3-59-g8ed1b