summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/egl_cache.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/opengl/libs/EGL/egl_cache.cpp b/opengl/libs/EGL/egl_cache.cpp
index 1607267..b0798a1 100644
--- a/opengl/libs/EGL/egl_cache.cpp
+++ b/opengl/libs/EGL/egl_cache.cpp
@@ -253,8 +253,7 @@ void egl_cache_t::saveBlobCacheLocked() {
return;
}
- status_t err = mBlobCache->flatten(buf + headerSize, cacheSize, NULL,
- 0);
+ status_t err = mBlobCache->flatten(buf + headerSize, cacheSize);
if (err != OK) {
ALOGE("error writing cache contents: %s (%d)", strerror(-err),
-err);
@@ -335,8 +334,7 @@ void egl_cache_t::loadBlobCacheLocked() {
return;
}
- status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize, NULL,
- 0);
+ status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize);
if (err != OK) {
ALOGE("error reading cache contents: %s (%d)", strerror(-err),
-err);