Index: bench/benchmain.cpp |
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp |
index 3080a0f022e8a20e522ba6332cb2afa84e80dd8a..e2cc9c160f717c15966067977998bc598ae57c9a 100644 |
--- a/bench/benchmain.cpp |
+++ b/bench/benchmain.cpp |
@@ -433,14 +433,14 @@ int tool_main(int argc, char** argv) { |
size_t bytes; |
int count; |
- context->getTextureCacheLimits(&count, &bytes); |
+ context->getResourceCacheLimits(&count, &bytes); |
if (-1 != FLAGS_gpuCacheBytes) { |
bytes = static_cast<size_t>(FLAGS_gpuCacheBytes); |
} |
if (-1 != FLAGS_gpuCacheCount) { |
count = FLAGS_gpuCacheCount; |
} |
- context->setTextureCacheLimits(count, bytes); |
+ context->setResourceCacheLimits(count, bytes); |
#endif |
} |