Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index abec1055ae21a8937e9bf30331b3e2f36c73a3b8..a35317ec54944671db9a856d7a6555f65aa1111d 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -1774,14 +1774,14 @@ ErrorCombination run_multiple_configs(GMMain &gmmain, GM *gm, |
// Set the user specified cache limits if non-default. |
size_t bytes; |
int count; |
- gr->getTextureCacheLimits(&count, &bytes); |
+ gr->getResourceCacheLimits(&count, &bytes); |
if (DEFAULT_CACHE_VALUE != gGpuCacheSizeBytes) { |
bytes = static_cast<size_t>(gGpuCacheSizeBytes); |
} |
if (DEFAULT_CACHE_VALUE != gGpuCacheSizeCount) { |
count = gGpuCacheSizeCount; |
} |
- gr->setTextureCacheLimits(count, bytes); |
+ gr->setResourceCacheLimits(count, bytes); |
} |
} |
if (!grSuccess) { |