diff options
Diffstat (limited to 'bench/benchmain.cpp')
-rw-r--r-- | bench/benchmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 3080a0f022..e2cc9c160f 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 } |