Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-08-31 12:55:54 +0300
committerJeroen Bakker <jeroen@blender.org>2021-08-31 14:24:42 +0300
commit9ab31b53b7d597ff3e48650d303002a6927b41ad (patch)
tree463a96d1265d8c66e7c8488ffa882ea0b086a6f4 /source/blender/draw/intern/draw_manager.c
parenta7ee49d06555d9151b49ae97bef856a8319be091 (diff)
Cleanup: Remove unused DRW_state_do_color_management.
Function wasn't used since we migrated to the new color management pipeline. It is also not expected it would be needed in the current design.
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r--source/blender/draw/intern/draw_manager.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 027ab8ce32b..df0e3566891 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -2838,14 +2838,6 @@ bool DRW_state_is_image_render(void)
}
/**
- * Whether the view transform should be applied.
- */
-bool DRW_state_do_color_management(void)
-{
- return DST.options.do_color_management;
-}
-
-/**
* Whether we are rendering only the render engine,
* or if we should also render the mode engines.
*/