diff options
author | Hans Goudey <h.goudey@me.com> | 2020-08-11 21:58:01 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-11 21:58:01 +0300 |
commit | b0485d47ef68cf07b8c9be3dc15997669c3aa055 (patch) | |
tree | fbff53d6acd27955cdb8500b7525f92581abb717 /source | |
parent | 2b6d4325ace76ccca296e3684954e5aebca51209 (diff) |
Cleanup: Resolve clang tidy warning / error
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/intern/gpu_context.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/gpu/intern/gpu_context.cc b/source/blender/gpu/intern/gpu_context.cc index 85a4d643a0c..283784aec20 100644 --- a/source/blender/gpu/intern/gpu_context.cc +++ b/source/blender/gpu/intern/gpu_context.cc @@ -280,11 +280,9 @@ void GPU_backend_init(eGPUBackendType backend_type) void GPU_backend_exit(void) { - if (g_backend) { - /* TODO assert no resource left. Currently UI textures are still not freed in their context - * correctly. */ - delete g_backend; - } + /* TODO assert no resource left. Currently UI textures are still not freed in their context + * correctly. */ + delete g_backend; } GPUBackend *gpu_backend_get(void) |