diff options
Diffstat (limited to 'source/blender/gpu')
-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) |