diff options
author | Romain Guy <romainguy@google.com> | 2012-08-31 17:18:03 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-31 17:18:04 -0700 |
commit | 703bd32647556524fa8cadbe869c8a8d734640ef (patch) | |
tree | ec22cb6af69544e035021a9c1178da46f3e2a5cb /libs/hwui/GradientCache.cpp | |
parent | a4640c082c8ccf66ebfb50ace5747409ab6aee55 (diff) | |
parent | dfe082f63e94cde9aee271c94d13de5e7217e036 (diff) |
Merge "Add more support for transformed clip rects and paths" into jb-mr1-dev
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
-rw-r--r-- | libs/hwui/GradientCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/GradientCache.cpp b/libs/hwui/GradientCache.cpp index 2e4e3492df03..b50ed1060c96 100644 --- a/libs/hwui/GradientCache.cpp +++ b/libs/hwui/GradientCache.cpp @@ -57,7 +57,7 @@ GradientCache::GradientCache(): INIT_LOGD(" Using default gradient cache size of %.2fMB", DEFAULT_GRADIENT_CACHE_SIZE); } - glGetIntegerv(GL_MAX_TEXTURE_SIZE, &mMaxTextureSize); + mMaxTextureSize = Caches::getInstance().maxTextureSize; mCache.setOnEntryRemovedListener(this); } |