summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/program_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/program_cache.cc')
-rw-r--r--gpu/command_buffer/service/program_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/program_cache.cc b/gpu/command_buffer/service/program_cache.cc
index 62e636d..f0adf6e 100644
--- a/gpu/command_buffer/service/program_cache.cc
+++ b/gpu/command_buffer/service/program_cache.cc
@@ -15,9 +15,9 @@ ProgramCache::ProgramCache() {}
ProgramCache::~ProgramCache() {}
void ProgramCache::Clear() {
+ ClearBackend();
shader_status_.clear();
link_status_.clear();
- ClearBackend();
}
ProgramCache::CompiledShaderStatus ProgramCache::GetShaderCompilationStatus(