Cleanup: GPU: Remove commented lines without any comments or purpose

These were added during a big refactor. They were supposed to be
uncommented at some point but the new code does not even need a default
world.
This commit is contained in:
2023-02-12 01:21:37 +01:00
parent d33960aead
commit 77aa9e8809
2 changed files with 0 additions and 2 deletions

View File

@@ -889,7 +889,6 @@ void gpu_codegen_init(void)
void gpu_codegen_exit(void)
{
// BKE_world_defaults_free_gpu();
BKE_material_defaults_free_gpu();
GPU_shader_free_builtin_shaders();
}

View File

@@ -835,7 +835,6 @@ void GPU_materials_free(Main *bmain)
GPU_material_free(&wo->gpumaterial);
}
// BKE_world_defaults_free_gpu();
BKE_material_defaults_free_gpu();
}